• Resolved lephucvn

    (@lephucvn)


    HI,
    My Woocommerce is using the latest version and Flasome is version 3.17.2

    Can anyone give me help?
    Thanks,
    regrads.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • For those who are having problems with the mini cart always empty with the cache in “HIT”, below is the solution I found:

    As per the Woocommerce explanation, they have removed wc-cart-fragments to increase the performance. If you are using elementor, I believe now it’s up to elementor to get a fix. I saw elementor mentioned on GIT that they would give a fix with the 3.14.0 release. Until that, the below code will fix the issue.

    Add this code to the function.php in the child theme or main theme (if you do not use a child theme)

    function enqueue_wc_cart_fragments() { wp_enqueue_script( 'wc-cart-fragments' ); }
    add_action( 'wp_enqueue_scripts', 'enqueue_wc_cart_fragments' );

    I use the LSCache and Swift Performance plugins.

    Source: https://stackoverflow.com/questions/76495561/woocommerce-mini-cart-is-coming-blank-on-add-to-cart-from-product-page

    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @lephucvn

    I understand that you’re experiencing an issue with your cart page not syncing with your cart title on the menu when you hit ‘update’. This can be due to a plugin conflict or incompatible theme issues.

    After testing your site, I found everything works fine on my end: https://cln.sh/SG65xLXN

    To identify the specific plugin causing the conflict, reactivate your other plugins one by one, testing after each activation, until you pinpoint the one causing the conflict. You can find a more detailed explanation of how to conduct a conflict test here.

    If the problem persists, it could be due to a conflict with your theme. Since this is a third-party theme which we don’t provide support for (please see our Support Policy), it would be best to reach out to the theme’s developers for further assistance here: https://themeforest.net/item/flatsome-multipurpose-responsive-woocommerce-theme/5484319/support

    I am sure they will have no problem supporting you there.

    Thanks!

    Thread Starter lephucvn

    (@lephucvn)

    thank you everyone still my problem has been solved when inserting this code

    function enqueue_wc_cart_fragments() { wp_enqueue_script( 'wc-cart-fragments' ); }
    add_action( 'wp_enqueue_scripts', 'enqueue_wc_cart_fragments' );
    

    Hi @lephucvn

    thank you everyone still my problem has been solved when inserting this code

    I’m thrilled to know that you’ve successfully resolved your problem by inserting the given code.

    I’ll go ahead and mark this thread as resolved. However, if you ever have more questions or issues in the future, don’t hesitate to kick off a new topic.

    Have a fantastic day!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘my cart page when i hit update my cart title on the menu not sync with cart page’ is closed to new replies.