• Resolved thedrugstore8

    (@thedrugstore8)


    Hello,
    WOOCS is causing the cart preview to show empty. If you click the cart you go to the checkout page where the products are correctly in the cart. The issue is that the preview is malfunctioning with WOOCS and showing empty no matter how many items are actually in the cart.

    Thanks for your help!

Viewing 12 replies - 1 through 12 (of 12 total)
  • Hello

    Please update plugin to latest version

    If no luck – drop me exact link to the issue

    We’re struggling with the same problem. Even when we have updated to the latest version. Unfortunately, we had to disable it for the time being. This plugin is making the cart empty in the preview after the page is loaded whereas in the carts page the products are visible. Given below is our site link, Please let us know if you need anything to fix this issue.

    https://www.dashikiwears.com/

    Thanks.

    • This reply was modified 5 years, 6 months ago by abhishek6262.

    Hello.
    Unfortunately I can not check it out since you disabled the plugin.
    What version of Woocommerce and WOOCS are you using?

    Hello @lukosovan,

    We’re using WordPress 5.2 and WooCommerce Currency Switcher 2.2.7.1 if that helps. Please let me know if you need any other information.

    Thanks.

    • This reply was modified 5 years, 6 months ago by abhishek6262.

    Hi, we are facing the same problem. When mouse cursor hovers on cart button, nothing is shown on preview even if there are many products are in cart actually.

    I tried to stop running WOOCS. I did the same thing that mouse cursor just hovers on cart button. The cart preview can be shown the selected products.

    But I started WOOCS again. The problem happened again.

    I’m using WordPress 5.2 and WooCommerce Currency Switcher 1.2.8.1(the latest version)

    Hello @abhishek6262

    You used a paid version, please write to the support envato – https://codecanyon.net/item/woocommerce-currency-switcher/8085217/support

    Hello @itfang1

    Please drop me exact link to the issue.
    What version of Woocommerce you are using?

    • This reply was modified 5 years, 6 months ago by lukosovan.

    Hello~ @lukosovan

    We are using WooCommerce Currency Switcher 1.2.8.1

    https://dev.morebuymall.com

    Thanks.

    • This reply was modified 5 years, 6 months ago by itfang1.
    • This reply was modified 5 years, 6 months ago by itfang1.

    Hello itfang1.

    Please, give me the answer to the previous question:
    What version of Woocommerce you are using, not the version of my plugin?

    @lukosovan
    It is Woocommerce 3.5.7.

    Thanks.

    Hello.

    Please try change in php-file plugin-folder/classes/woocs_after_33.php :
    this function :

     public function woocommerce_add_to_cart_hash($hash, $cart) {
            //return "";
            return md5(json_encode(WC()->cart->get_cart_for_session()) . $this->current_currency);
        }

    to this:

    public function woocommerce_add_to_cart_hash($hash, $cart=null) {
            //return "";
            return md5(json_encode(WC()->cart->get_cart_for_session()) . $this->current_currency);
        }
    • This reply was modified 5 years, 6 months ago by lukosovan.
    • This reply was modified 5 years, 6 months ago by lukosovan.
    • This reply was modified 5 years, 6 months ago by lukosovan.
    Plugin Author RealMag777

    (@realmag777)

    Hello

    Update with the fix is just released …

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Cart preview empty’ is closed to new replies.