Override Engine and OpenCart 3.0.3.6

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

In OpenCart 3.0.3.6 (since 3.0.3.5 ??)  the Twig was moved to another location, and, OverrideEngine stopped working. Unfortunately, there is no any newer version from author.

Find the code (line 792, version for OpenCart 3.0.3.3):

include_once(DIR_SYSTEM . 'library/template/Twig/Autoloader.php');
Twig_Autoloader::register();
$loader = new \Twig_Loader_Filesystem(DIR_TEMPLATE);		
$config = array('autoescape' => false, 'cache'=>false);

and replace with:

$loader = new \Twig\Loader\FilesystemLoader();
$loader->addPath(DIR_TEMPLATE);
$config = array( 'autoescape'  => false, 'cache'	=> false, 'debug' => false, 'auto_reload' => true );

OC 3.0.3.2 Bug list

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...
bug-list-3.0.3.2
description
+fedex- template errorA
layout- added sort by layout_idC
paypal standard- replace pp_standard payment moduleC
+sessions_gc.ocmod- clean session tableC
+subtotal- missing orderA
+usps shipping- missing US Mail First ClassC
+ups shipping- missing prefix (shipping_)Cscript

OC3 UPS shipping module fix

It seems to get fixed in 3.1+ version but, not in OpenCart 3.0. I've just created file, named mod-fixes.vqmod.xml and placed in /system directory, have been tired to create install for every POS.
Just create a file and copy/paste code or create install.xml and amke a mod. [...]

OpenCart: Display RSS Feed

RSS reader to display feed inside sidebar for any OpenCart theme.
There are a few parameters that could be specified in admin (Extension/Modules/Feed Display) after the module installed.
Only content of 'title' nodes are display. [...]

OpenCart: Maintenance Mode

Unfortunately, being logged-in as Administrator you can forget, that Maintenance Mode is ON and the website is not accessible for the users until your decided to check it from another computer or device and figured out that you had a problem… for a long time. [...]

Yandex.Metrica