Questions tagged [opencart2.x]

Opencart version 2.0.0.0 and above, released 2014-10-01

OpenCart 2

Opencart Commerce version 2x (version 2.0.0.0 and above)

This is the latest release of the OpenCart PHP and MySQL driven ecommerce platform. OpenCart supports Multi-Channel ecommerce with availability for multi currecy, language, template, domain and device (tablet, web and mobile). There is also modules for kiosk, vendors such as Amazon and eBay and also Google and Apple App Store.

New features include:

  • Fully responsive design - both the admin and the front-end
  • OCmod - virtual file modification. Redesigned admin area and front end - a marketplace module enviroment
  • Support for CDN, cloud computing and enterprise driven stores with high volume and transaction rate

  • More payment gateways included in the standard download.

  • Event notification system. Custom form fields.

Although 2.0 is now released we advise all existing store owners to check that any 3rd party modules they have installed will work with the latest version. If you already have a working store we always advise a backup is done and you test in a new environment before you update!

You can download any version of Opencart from this url

You can also browse the extensions from this url

1161 questions
3
votes
1 answer

Load Controller With Parameter Opencart

I have created one controller inside catalog/controller/module/same_collection.php Inside that : class ControllerModuleSameCollection extends Controller { //User Product History public function index($product_id) { echo…
chhorn soro
  • 199
  • 1
  • 3
  • 13
3
votes
3 answers

Opencart 2.0.3.1 - Some products not showing up in category lists

In the Opencart admin area I have four categories (A B C D) and 20 products (1-20). I first created the categories and checked the Top box under data so that they would show up on the home page. I then created the products, 1-16 under category A,…
Jim Pudar
  • 31
  • 1
  • 3
3
votes
0 answers

Change opencart requests to thrift binaries

We are using opencart for our ecommerce framework.Lately we are being limited by the resources and features and opencart becoming a bottleneck for implementing those features.Now we are shifting to Ruby On Rails.How can we use thrift to make use of…
5ud0
  • 121
  • 1
  • 11
3
votes
2 answers

How does free checkout work in Opencart 2?

I am trying to make a development site where I can add products to my cart and delivery options - and then checkout. I want to be able to do dummy orders without using real cards or payment gateways I have enabled free checkout but it does not…
TheBlackBenzKid
  • 26,324
  • 41
  • 139
  • 209
3
votes
5 answers

Opencart how to show free shipping if order is above X amount otherwise X delivery charges?

I would like to if order is above x amount then free shipping otherwise need to charge x amount. In Free Shipping i already set X amount. In Flat Rate i set X amount. But in frontend if order is above x amount then it display both Free Shipping &…
test
  • 464
  • 5
  • 14
3
votes
1 answer

Confused about using class file name shortcut OpenCart

I am newbie in PHP, I have faced with weird thing for me in opencart PHP engine. There is file called catalog/controller/module/slideshow.php. This class extends Controller class class ControllerModuleSlideshow extends Controller { …
cdxulkqy
  • 33
  • 4
2
votes
3 answers

Check in header if 'thank you' page - Opencart 2

In OpenCart 2, I am editing the appearance/php of the header only in the "success"/"thank you" page (catalog/view/theme/*/template/common/success.tpl). So, in catalog/view/theme/*/template/common/header.tpl I want to do something like: if(…
2
votes
2 answers

Display units of measure for a product

Good day. Please help me to display units of measurement for goods. OcStore 2.3 engine. By default, units of measurement are not displayed next to the product, they helped me to display them on the product page in this…
2
votes
1 answer

using php tags inside opencart html module

I need to call some php vars inside a html module on opencart, but when i use my page renders as . is there a way of doing this using the default HTML module of opencart 2.x
Rui Leming
  • 61
  • 10
2
votes
1 answer

Opencart: add module/html inside .TPL

Is there a simple way of calling a module (in this case module/html) inside a div of the TPL, in WordPress we could use shortcodes to do that, is there any way to do something like that in OpenCart without having to create a new layout position…
Rui Leming
  • 61
  • 10
2
votes
1 answer

Opencart admin page 301 Moved Permanently

I have opencart Version 2.0.1.1 and recently i have noticed a strange error. when i visit the sale/order page it is showing a popup with the error: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Shoaib Fareed
  • 72
  • 1
  • 9
2
votes
1 answer

Set Product option default value:opencart 2.3.0.2

How can i set product radio option's default value in opencart? Is there any way we can set the first option value to be default. If not, then what will be the proper way to set in controller, view?
Anmol singh
  • 158
  • 1
  • 12
2
votes
1 answer

Getting an "unexpected '<' " error while sending post request in opencart-3

while using api for opencart-3x i am not been able to generate api_token. I used Postman for sending post request but I am getting an "unexpected '<'" error in JSON format.Also I am using xampp local server. I have searched every video , blogs…
2
votes
1 answer

Open "Terms & Conditions" link in a new tab on checkout page

The "Terms & Conditions" link shows entire page in a popup window on checkout page of Opencart 2.3.0.2. I want it to be opened in a new tab. I tried but failed to achieve it. I'm usign Porto Theme. Any help would be appreciated.
user3282626
  • 99
  • 1
  • 10
2
votes
0 answers

how to post data from method of conroller in opencart2.x this example?

i want to create new method in class ControllerCatalogMproduct in opencart2.x but i dont know do send data from mproduct_form.tpl when click save button to controller .