Home Forums Basel support forum Cart empty only inside Index

Cart empty only inside Index

Viewing 9 posts - 31 through 39 (of 39 total)
  • Author
    Posts
  • #39259

    Giulio
    Participant

    We’ll update the theme, but we can’t do it today. So you’ll take a look or not? 😕

    #39263

    Artem Temos
    Keymaster

    We see a lot of customizations in our theme code file made by you. Could you please remove them to be sure that this problem is not caused by your code? Or if you want we can remove it for you.

    #39264

    Giulio
    Participant

    Ahahahaha, all customizations is made by YOU 🙂 I’m not a developer. So every time I asked to you.

    #39266

    Artem Temos
    Keymaster

    No, we didn’t add that code! We never added any code to your functions.php file in the parent theme.

    #39268

    Giulio
    Participant

    You was right. I solved with removing this code. Many thanks 😕 Our server support suggested to insert it to speed up our index. LOL?

    /** Disable Ajax Call from WooCommerce */
    add_action( 'wp_enqueue_scripts', 'dequeue_woocommerce_cart_fragments', 11); 
    function dequeue_woocommerce_cart_fragments() { if (is_front_page()) wp_dequeue_script('wc-cart-fragments'); }
    #39269

    Artem Temos
    Keymaster

    Finally 🙂 Of course, if you disable JS files it will work faster, but not better.

    #39270

    Giulio
    Participant

    I’m really sorry, I supposed that you meaning CSS Global editing, not function.php

    #39272

    Giulio
    Participant

    LOL 🙂 Thanks guys!

    #39275

    Artem Temos
    Keymaster

    Anyway, we are glad that this issue is solved.

Viewing 9 posts - 31 through 39 (of 39 total)