Unfortunately, not everybody uses FullHD or 4K monitors to manage their sites. Only half of screen left on 14-15″, and, sometimes, you can not see/manage the data (see Product/Options) screenshot.
OpenCart 3: Sorting product list in invoice
Most of orders contain 1-2 items, but there could be 10+ and it becomes a problem to follow the invoice and picking items from the shelves. Any field of your choice: model, sku, etc. Here is an example how to update invoice and packing list (vqmod format):
OpenCart 3 : Improved Customer Search
How many time you could not recognize the name and the problem, but you have had a phone number? In OpenCart, there is no way to find the order by phone number. I had this hard coded, but now it’s available as a mod. You will be search the order by name, phone number (only digits) or email
OpenCart 3 : Attributes Group
Demo at alcher.biz demo/demo
It will let to add/remove Attributes directly from Attribute Group form (same as Filter).
WARNING: it will override original files
Override Engine and OpenCart 3.0.3.6+
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 );
OpenCart 3 : CKEditor 4
Replace summernote editor with CKEditor 4
(more…)Added the mod to remember the last visited directory.
OpenCart 3 : Product Image on Invoice
Somebody’s asked me to add product images to invoice…
(more…)OpenCart 3 : Orders counter/number
The mod will show the number of orders placed by the customer. [0001] means it’s the first time one, [0002] or more will mean it’s returning customer. By clicking the number will show all the orders placed by this customer (Improved Customer Search mod must be installed as well).
(more…)OpenCart : PHP 8
Backward Incompatible Changes:
- It’s very rare, but in some old extensions or packages, the array and string offset access syntax using curly braces could be found. It’s deprecated in PHP 7.4 The easiest way to check is to run global search/replace:
(\$[A-z0-9_]* ?)\{([^}]+)\} with $1[$2]
be careful, some JavaScript files could be modified too.
- “The @ operator will no longer silence fatal errors … Error handlers that expect error_reporting to be 0 when @ is used, should be adjusted to use a mask check instead”. Replace in /system/framework.php (lines 19-21):
if (error_reporting() === 0) { return false; }
with
if (!(error_reporting() & $code)) { return false; // Silenced }
- Comment line 7 in Environment.php from Twig
@trigger_error(sprintf('Using the "Twig_Environment" class is deprecated since Twig version 2.7, use "Twig\Environment" instead.'), E_USER_DEPRECATED);
otherwise it will bloat the the OpenCart error file
OC 3.0.3.2 Bug list
description | ||||
---|---|---|---|---|
+ | fedex | - template error | A | |
layout | - added sort by layout_id | C | ||
paypal standard | - replace pp_standard payment module | C | ||
+ | sessions_gc.ocmod | - clean session table | C | |
+ | subtotal | - missing order | A | |
+ | usps shipping | - missing US Mail First Class | C | |
+ | ups shipping | - missing prefix (shipping_) | C | script |