• On mobile using Woocommerce and Kadence theme – when adding products to my cart, when I go to “view cart” the cart says it is empty and displays the “return to shop button”. This only occurs on handheld, tested on several Iphones, Android phones etc. On debugging this issue by turning off all plugins the condition clears once page speed Ninja has been disabled.

    I currentley have page speed Ninja disabled on https://www.20thcenturycloth.com

    Any thoughts would be appreciated

    Regards

    Al

    • This topic was modified 4 years, 7 months ago by alansnell.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter alansnell

    (@alansnell)

    Any potential solution here? I’d like to keep using Ninja but I can’t if it breaks the function of my cart on mobile

    Thread Starter alansnell

    (@alansnell)

    No help then, nothing, not even to say you don’t know what the problem is!

    Plugin Author Denis Ryabov

    (@dryabov)

    Try to add following code to the theme’s functions.php file:

    if (function_exists('is_cart') && is_cart() && !defined('DONOTCACHEPAGE')) {
        define('DONOTCACHEPAGE', 1);
    }

    After that, clear the Page cache.

    If it doesn’t work, try to disable Caching in the “Reduce server response time” section (Advanced settings tab).

    Thread Starter alansnell

    (@alansnell)

    Thankyou

    The theme function code didn’t appear to work

    Disabling the server response cache did work but caused problems if you delete items from your cart and update your cart. It would still show items in your cart that you have deleted

    • This reply was modified 4 years, 7 months ago by alansnell.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Woocommerce cart issue with Ninja’ is closed to new replies.