Questions tagged [opencart-3]

Use this tag for programming-related questions specific to version 3.x of OpenCart, the open source shopping cart system written in PHP. Questions should also be tagged [opencart].

OpenCart 3.x, started by version 3.0.0 release on June 19th, 2017.

The most notable change in 3.0.0 is the new template system requirement. Template files will no longer use the old tpl format now it's using the twig.

Three major changes in the platform:

  • Extension Marketplace Integrated in the Admin
  • Theme Editor
  • Language Editor

Additional new features that are introduced:

  • Multilingual SEO URLs

  • Improved Admin Data Filters

  • Improved & Flexible Reports

  • Statistics

  • Removed FTP Tab

566 questions
-1
votes
1 answer

Opencart Custom Field at Checkout page

I added two input field on View of checkout page. But when I'm trying to get those input value to respect controller by using this code $this->input->post('myfield'); I'm not getting the value of that input field. Does any one know how to get those…
Rajura
  • 27
  • 8
-1
votes
1 answer

Managing two different array in one loop TWIG

i'm new in twig. I had read the twig documentation but can nt find solution, as it is much easier in PHP. ((Trying two array in one loop.)) : i have two arrays one is {{ dump(render_categories) }}-- array(3) { [0] => array(3) { …
Anmol singh
  • 158
  • 1
  • 12
-1
votes
1 answer

How to Show/Display Product Cart Quantity in Featured/Product Listing Content using opencart 3

Does anyone have a solution on how to display the cart product Quantity count in featured, Latest, Product Listing page, etc? I need to show How much quantity in the cart the customer already has. so how can add this easily? Note: I attached…
-1
votes
1 answer

Opencart product Category IDs on category page

I have question how to show product category IDs (all cat IDs for given product) on category page. Because now I am able to get only main one /top /first added. I am using this: {{product.category_id}} in category.twig page. Opencart 3.0.2.0 Thank…
-1
votes
1 answer

Warning: count(): Parameter must be an array or an object that implements Countable / if( count($query) ) {

Warning: count(): Parameter must be an array or an object that implements Countable on line 5 db->query("SELECT * FROM…
jja1377jja
  • 21
  • 1
-1
votes
1 answer

How to get another column values from MySQL Query in opencart3 admin panel?

The code below uses 2 tables "category_path" and "category_description" to get id=>name of all categories and sub-categories. Im bad at mySql, so I would appreciate if you help me. In this function I need to also get values of 'cat_name' column FROM…
-1
votes
1 answer

Can't get stock number on Category

EDIT: I'm on OpenCart 3.0.3.2 I want to get the product's stock number on my Category page, so i added this to catalog/controller/product/category.php $data['products'][] = array( ..., 'stock' =>…
-1
votes
1 answer

How to make an order when the basket is at least $ 10 for OpenCart 3.0.2.0?

I am using OpenCart version 3.0.2.0. My problem is that if the basket amount created by the customer reaches $10 and passes, how do I make it accepted as an order.
fresh
  • 19
  • 4
-1
votes
1 answer

How to use .htaccess to speed up your site

htaccess is a special configuration file in which you should be able to dig up in the root of your server directory. How can I speed-up my Website using htaccess My Website Score: Desktop : 61 Mobile : 42 How can I improve my website page speed?
user12415270
-1
votes
1 answer

How to shared open cart session in multiple domains

I have a Moodle website and an Opencart website, I want to share Opencart session data with the Moodle website. How would I do this?
Khushbu
  • 1
  • 1
-1
votes
1 answer

REST API generation for Opencart

I tried to generate a REST API for my customers, categories, products, coupons, manufacturers and all others to use it in my Android application, but I can't get any solution. Can anyone tell me how to create APIs in opencart 3.0.2.0?
Mujahid Bhoraniya
  • 1,518
  • 10
  • 22
-1
votes
1 answer

Disconnect image cache from opencart 3 image manager

When i upload any image for my Opencart 3 website, it takes close to 10 minutes for the image to appear in the image manager. I discovered that the images are stuck in the cache before they upload to the main directory. I have increased the values…
-1
votes
1 answer

After uninstalling an extension in Opencart3, there are remnants in user groups

I installed an extension into my opencart 3 website but later want to remove it . I have done the following: i have uninstalled from extension/extension/module gone to modification and removed it then refreshed tracked each of the files and…
-1
votes
1 answer

How to remove checkout fields in opencart version 3.0.3.2

Please tell me how to remove checkout fields from checkout page of default theme in opencart version 3.0.3.2. For example i want to remove company postcode..
-1
votes
1 answer

empty variable in result

i have colour options in opencart 3. black main +0 $10, option1 red +$2 ($12), option2 yellow +$3 ($13). sending prices to xml. i do not want black price in results. $options =…