OpenCart : store time_zone

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

To Whom … is West of UTC (UTC-XX)

  • Unable to log-in as the admin
  • API (for ex: update order status) calls are not working

All of the above, it will call framework.php

date_default_timezone_set($config->get('date_timezone'));
... 
// Database 
if ($config->get('db_autostart')) { 
// Sync PHP and DB time zones 
  $db->query("SET time_zone = '" . $db->escape(date('P')) . "'"); 
}

with time_zone from /system/config/default.php

// Date
$_['date_timezone'        = 'UTC'
(more…)

Override Engine and OpenCart 3.0.3.6+

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

Since OpenCart 3.0.3.6 (3.0.3.5 ??)  the Twig has been moved to another location, and OverrideEngine stopped working. Unfortunately, there is no newer version from the author.

So, 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. […]

OC3 Bug Session

That’s one of the biggest problem created with f… mind of the owner. As long as you play with a project, everything is fine, but in reality, you have a chance to get 400-900K records in your session table. […]

OC3 Bug SubTotals

I understand, that SubTotal is coming first, but guys, I do no not know what’s the f… problem to fix this simple bug… […]

OC3 Bug US Mail

This has been really bug since version 2+: no First Class mail available
Removed 1 day, 2 day, 3 day from US Mail. […]

OC3 Bug FedEx

Up to version 3.0.3.2 there is a bug (in template) in Admin/Shipping and you cannot save shipping options you selected […]

Yandex.Metrica