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
3
votes
1 answer

OpenCart3 Order Status coming as Missing Status

I am using OpenCart version 3.0.3.2. The OpenCart Order Status is coming through as Missing Orders. What causes this issue, and how do I fix it? The below screenshot shows the Order Status messages in context:
tru.d
  • 555
  • 2
  • 6
  • 23
3
votes
2 answers

OpenCart 3: system cache cleaning, ocmod and twig. I made changes in controller but its not reflecting

I want to change something related to product attributes in the product details page: /index.php?route=product/product&product_id=100 So I changed \catalog\controller\product\product.php file and saved it. but it's not reflecting my changes even I…
Shahab Alam
  • 41
  • 1
  • 3
3
votes
1 answer

Opencart Table Column Unable to Sort

I've recently tried out opencart, so I'm a newbie at it. I managed to get the data and display them in the html table, however i'm stuck at the sorting of the tables when i click on the columns. The url in the address bar does display the route…
Dong
  • 136
  • 10
3
votes
2 answers

opencart 3 how to Custom variable in twig page

i want to show custom text come from a variable in language template. so i declared a variable in: admin/language/en-gb/extension/theme/mytheme.php $_['text_label_menu_count'] = 'Some count'; and then try to print that variable…
sundsx
  • 588
  • 9
  • 27
3
votes
1 answer

Where sku.tpl get the $sku_images in opencart

I want to know where is the sku.tpl get this $sku_images. I already search it using grep in my server but I can't find where that variable come from. can you help me guys? I really don't know where is that variable come from.
Arigi Wiratama
  • 440
  • 4
  • 11
3
votes
2 answers

Adding new modules positions to OpenCart 3

I am using OpenCart Version 3.0.2. By default OpenCart has 4 areas where we can drop the modules in our layouts. i.e. Left Column Right Column Top Content Bottom Content My question is if somehow we can drop modules elsewhere also or maybe if we…
kamran shah
  • 117
  • 4
  • 16
3
votes
2 answers

How to refresh opencart modification by code

I need to refresh modifications after install module. public function install() { $this->load->controller('marketplace/modification/refresh'); } I tried this. Its worked but the page redirected to modification listing. How can i do without…
noufalcep
  • 3,446
  • 15
  • 33
  • 51
3
votes
1 answer

OpenCart 3 not showing my module

I'm fairly new to OpenCart but I know PHP and MVC platforms. I want to make an importer for OpenCart to import some products from a CSV and the photos for them. However, I've been struggling for the last 2 hours trying to see my module in the admin.…
Ciprian Mocanu
  • 2,166
  • 3
  • 25
  • 44
3
votes
6 answers

OpenCart 3.x - including a new template file

I need to add a new OpenCart template file into another template file. Essentially I've created a new head file in /theme/customtheme/template/common/ called "header_home.twig". Then in home.twig, I've changed {{ header }} to say {{ header_home }},…
SoulieBaby
  • 5,405
  • 25
  • 95
  • 145
3
votes
1 answer

Opencart 3.x new theme in not showing in admin panel?

I am not new to OpenCart, but I never try OpenCart after version 1.5.6. I can see there are a lot of changes during this time. When I wanted to add a new theme, I copied my theme into the directory catalog\view\theme, but there is no link to select…
Siddiqui Noor
  • 5,575
  • 5
  • 25
  • 41
2
votes
0 answers

Are Opencart events asynchronous? If not, Is there any way to implement asynchronous methods in Opencart?

I am using opencart 3. I want event actions to run parallel and should not block the trigger.
Balkrushna
  • 23
  • 6
2
votes
1 answer

Search not working anywhere else than the Header

I seem to be having some issue regarding moving the search bar anywhere else than its original .twig file. I have moved the code needed to load it in but whenever you search you for one cannot press enter on search and it will not allow me to search…
Jermain
  • 41
  • 4
2
votes
1 answer

Autofill Email field with session value - Opencart 3.0.3.3

I have main website, where user logins... that time I am creating $_SESSION['useremail']. My opencart V3.0.3.3 is in folder "Shopping". I want to autofill email field in opencart (in shopping folder) login page with session value created by…
2
votes
2 answers

How do I use variables in a different place?

I'm trying to use a variable in a different place but it doesn't seem to be working. Basically the idea that we had is to use the data you assign in the admin panel for your contact info that will be displayed on the contact page onto our footer.…
Jermain
  • 41
  • 4
2
votes
1 answer

How to add custom form group inside the product.twig(catalog/view/theme/default/template/product/) in Opencart 3.0.2.0 using Ocmod

I am planning on adding custom option which can input steel dimension the customer wants and can purchase. But I am not able view this on the product end and there is no error in the log. Even in the product view page am not getting errors on the…
ji95
  • 21
  • 2
1
2
3
37 38