OpenCart : store time_zone

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)

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

// 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'

OpenCart 3 : Last Accessed Selected

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)

UPDATED: file restored, updated tags, its should work up to
Working with the products, customers,  orders, etc. lists it could be a problem to figure out which one you’ve just viewed or edited. For the most of lists (templates: *_list.twig, the item will be highlighted, after returning back by pressing Cancel or Save.


OpenCart 3 : Maintenance Mode

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)

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.

Background image will be displayed for both back-end and front-end if you put your site in Maintenance Mode, see the screenshot below:


OpenCart : Percentage in Special and Discount

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)

The mod allows you to use absolute value or % for OpenCart Special Price & Discount

  1. Any number < 1 is considered as a discount in %%, for ex: 0.15 means 15% OFF retail price. The ‘On Sale’ price will be correlated with retail price.
  2. Special or Discount is greater or equal 1 will be processed as an absolute value.
  3. The mod will change the priority for Special и Discount. Discount will have higher priority than Special price.