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
2
votes
2 answers

exception when debugging opencart 3

I'm trying to debug an opencart 3 app with a theme built on it using twig. When the app starts, the twig/Autoloader.php throws an exception: The Twig_Autoloader class is deprecated since version 1.21 and will be removed in 2.0. Use Composer…
MajdNaji
  • 326
  • 1
  • 4
  • 16
2
votes
2 answers

How to verify OTP in PHP with SESSION or COOKIES (Opencart 3)

I'm just creating OTP verification system in Opencart. Everything works fine, but the only problem is number is not validating. I think I am doing something wrong. Every time I refresh the page, OTP also get changed. Does number should stay same for…
asimdev
  • 705
  • 1
  • 8
  • 22
2
votes
0 answers

Unable to install zip extention for php

I am trying to install a zip extension to my localhost in order to install open cart but everything seems like failing and I am getting this message. Warning: ZIP extension needs to be loaded for OpenCart to work! I have tried …
AdminRoy
  • 105
  • 1
  • 8
2
votes
1 answer

Summer Note Text Editor Don't Show Font Size in Blog Section in Journal Theme Open Cart 3

I'm using journal theme on opencart 3 , i have a strange problem i try to use summer note in blog posts page, the font size option is not showing at all while in product page it is showing well, i tried to look everywhere in files with no joy, steps…
Darknessso
  • 17
  • 5
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
2 answers

Opencart : How To Load Different CSS Style, Based On Language

I use opencart I want to load stylesheet-rtl.css when language is ar and stylesheet.css when language is en i tried this and some others i found in internet but it doesn't work ?
anton
  • 58
  • 7
2
votes
2 answers

how to change featured title name in opencart 3

How to change featured product title name in home page of opencart 3.I want to add some products with other title in home page.like given screenshot-enter image description here
2
votes
2 answers

Developing custom module in opencart 3

I am trying to develop a module in opencart 3.0.2.0. I have created a new basic file in controller\extension\module\sellerlist.php. class ControllerExtensionModuleSellerlist extends Controller { public function index() { return…
hakkim
  • 666
  • 15
  • 36
2
votes
1 answer

Opencart 3.0.2.0, Email sending failed while Using Gmail

My Opencart version is 3.0.2.0 My problem is that email is not working recently. I am using gmail smtp and it was working few days before. But suddenly it stopped working and while checking error log I found below log. PHP Fatal error: Uncaught…
subhi
  • 31
  • 1
  • 4
2
votes
4 answers

Move the storage directory outside of the web directory

In opencart version 3 there is a notification: It is very imporant that you move the storage directory outside of the web directory (e.g. public_html, www or htdocs) Screenshot I tried by clicking on move button in the picture also tried…
Alamgir Khan
  • 87
  • 1
  • 2
  • 9
2
votes
2 answers

Opencart 3 theme development

Could someone explain how to start and enable custom Opencart 3 theme? There are plenty of tutorials for Opencart 2 and just a bit of unclear posts at forums for Opencart 3, but after trying for few times all I get are "Theme not set up for this…
fuji
  • 317
  • 2
  • 19
2
votes
2 answers

Special character issue in twig

I have try following code for custom block. it is working fine when I does add content from admin. but, just issue for special character. admin\view\template\extension\module\theme_module.twig
{% for…
user8302249
  • 91
  • 1
  • 9
2
votes
1 answer

Can't change opencart default theme

I have recently installed opencart successfully with default theme.Now i going to change another theme.i have purchased theme from theme forest Verito_OC theme.then i did the following steps 1)unzip theme and move to catalog/view/theme then open…
juva jacob
  • 115
  • 1
  • 11
2
votes
1 answer

Unable to trigger event(post.customer.login and post.customer.logout) in Opencart 3.0.2.0

I want to set the session after user login in opencart-3.0.2.0 I am new to opencart, I have just created this two files only in the corresponding folder.anything else I need to be done to trigger the event. I am referring this link to trigger the…
2
votes
0 answers

couldn't fetch mysqli in opencart 3

I got this error when I move my opencart files to live server. Its worked in local server without any issue. Warning: mysqli::__construct(): (HY000/2002): No such file or directory in …
noufalcep
  • 3,446
  • 15
  • 33
  • 51