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

Change CSS for menu and submenu

I'm creating a menu with three levels for my store in opencart 3.0, the whole programming part I've already done, with your help here. Now, I'm having trouble adjusting CSS, as I need the menus displayed to cascade, but the opencart menu default…
Anderson
  • 363
  • 1
  • 3
  • 10
0
votes
0 answers

Opencart 3: Increase Information Pages line-height?

I have several information pages in Opencart 3 and the text lines are too close together; almost overlapping. Where can I find the css to change the line-height? Maybe i missed something but I have gone through the css files in the admin folder and…
Debbie
  • 23
  • 6
0
votes
1 answer

get 3rd level sub category in main menu Opencart v3.0

I m try to get sub in sub category for opencart 3.x, I have change code in menu.php controller and menu.twig file but therer is no display sub of sub categoty. I have Edit code in catalogcontroller/common/menu.php public function index() { …
Mayur Sutariya
  • 129
  • 2
  • 11
0
votes
2 answers

OpenCart 3 custom module doesn't save data

Im developing a payment module for OpenCart 3. Since there's no updater documentation my module is based on the others payment module (such as Alipay, paypal, cash on demand, etc....) I've created the module view on…
0
votes
1 answer

How to show another header template at home page?

I have get an header.twig file. I need to display this header template in home page differently than in others pages. How to do that?
POV
  • 11,293
  • 34
  • 107
  • 201
0
votes
2 answers

Showing category thumbnails in opencart 3 menu

I'm looking for a way to show the category thumbnail in the menu. Is this possible? Specifically for OpenCart 3.
Paul M
  • 115
  • 12
0
votes
3 answers

Element present in Chrome Dev Tools but NOT in View Source - how is this possible?

Trying to troubleshoot some design issues on a website (built with OpenCart), and ran into an issue I've never seen before: an element shows up in Dev Tools but DOESN'T show up in View Source. How is this possible? And how can I find the actual…
TomJones999
  • 775
  • 2
  • 13
  • 30
0
votes
1 answer

Bootstrap 3 menu: Doesn't drop-down, no auto collapse

I am using OpenCart 3, Bootstrap 3. Focus on these lines:
  • Sản phẩm {% for category in categories %}
  • Vy Do
    • 46,709
    • 59
    • 215
    • 313
    0
    votes
    1 answer

    OpenCart installation, cannot log into Dashboard

    I just installed OpenCart on my website. When i try to log into the dashboard, i get the following error: Warning: htmlspecialchars(): charset `UTF-8;' not supported, assuming utf-8 in /home/********/public_html/system/library/cart/user.php on line…
    0
    votes
    1 answer

    How to Add Script to Success Page of OpenCart

    I develop payment gateway extension at opencart 3. I need to add some js script to success page without change core opencart files. How can I do it? Thank you.
    SpeedFreak
    • 11
    • 1
    • 3
    0
    votes
    0 answers

    After edit twig file using theme editor, webisite show http error 500

    I am new to opencart. So the case is I was trying to change the layout of the side menu. So I went to theme editor of opencart admin backend and edit the header.twig file. Then my site immediately went down. I tried reset the file but no help. Below…
    Kent Chin
    • 47
    • 10
    0
    votes
    1 answer

    Unable to install Opencart 3.0.2.0 in Linux Server

    When I try to install Opencart V3.0.2.0 in Linux server, getting following error message. Fatal error: Internal Zend error - Missing class information for in /system/storage/vendor/twig/twig/lib/Twig/ParserInterface.php on line 31 I am not…
    EKL
    • 143
    • 3
    • 13
    0
    votes
    1 answer

    Tags aren't replaced with strings in my opencart theme

    I have a problem: my translate language is not working. Tags aren't changed to strings. How to solve that issue?
    0
    votes
    2 answers

    OCmod is not showing up in Modifications list - Opencart 3.0.2.0

    I am trying to write my mod file to simply change a text in a footer. here is my install.xml code: Modify PowerBy Text 1.0 Shehzad
    Shehzad
    • 337
    • 4
    • 25
    0
    votes
    1 answer

    OpenCart 3.x - syntax issue with IF/ELSE loop

    I have some code in OpenCart 2.0 template file, that includes this block: = 1) { ?> (block of HTML #1) (block of HTML #2) Attempting to implement the same in OpenCart 3.0 template, that uses the Twig…
    TomJones999
    • 775
    • 2
    • 13
    • 30