Blog

  • Add customer phone and email to order invoice

    Add customer phone and email to order invoice

    Here is the situation: you are admin of the online store for the client and you forward the orders to someone else who is doing the packing and sending the products to the customers. You probably have noticed that the person who is about to send the package to the end user has no vital contact information of the end user and that is phone number and email address. Often those are mandatory information for couriers also who need to contact the person before delivering the package.
    (more…)

  • OpenCart 3.0.3.5 and 3.0.3.6 Extension Modification system

    OpenCart 3.0.3.5 and 3.0.3.6 Extension Modification system

    WOW, we already came to OpenCart 3.0.3.5 and 3.0.3.6 versions. Time flies, right?
    I recently installed the latest version for a project and after installing a plugin it does not show anywhere in the store admin section. No errors are displayed whatsoever. If you came across the same issue here is what did the trick for me.

    (more…)

  • Warning: count(): Parameter must be an array or an object that implements Countable…

    Warning: count(): Parameter must be an array or an object that implements Countable…

    This is the fix for those who are using the Journal theme on OpenCart 3.x and receive PHP error on mobile devices. The full error goes like this:

    Warning: count(): Parameter must be an array or an object that implements Countable in /home/usernamefolder/public_html/system/library/template/Twig/Node/Module.php on line 346

    At the time of this error I was using OpenCart version 3.0.3.3 and Journal theme 3.0.46. This is the solution that fixed the error for me.
    Open the Module.php file and modify the line 346 with a comment and add the next line beneath it:

    
    #if (!count($node)) {
    if (is_null($node)) {
    

    That’s it. Small fix heals huge headaches.

  • Change label on WooCommerce Add To Cart button

    Change label on WooCommerce Add To Cart button

    Here is another quick tweak in case you want to change the label on default WooCommerce Add To Cart button in your WordPress E-commerce website.
    (more…)

  • Disable the WooCommerce product image zoom effect

    Disable the WooCommerce product image zoom effect

    In case you want to get rid of the lousy WooCommerce product image zoom effect then check out the simple method that I used.
    (more…)