Products are not added to cart correctly after disabling Ajax

This topic has 5 replies, 2 voices, and was last updated 1 years, 8 months ago ago by HmirceaD

  • Avatar: HmirceaD
    HmirceaD
    Participant
    August 2, 2022 at 09:46

    Hello,

    I noticed a problem where the products were not added to my cart. I figured the problem was because I enabled Ajax through my add to cart button in the single product builder.

    I followed the instructions here however the problem still persists.

    https://www.8theme.com/topic/problem-with-add-to-cart-for-certain-products/

    I disabled Ajax in the Single Product Builder and deleted the code in the discussed file, however adding the product to cart is still broken.

    Please, contact administrator
    for this information.
    4 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 2, 2022 at 10:20

    Hello,

    Thanks for using our theme.
    At first sight, we do not see the problem with adding product to cart. Please clear cache of your browser and try adding a product to cart then.
    Try to enable “Always Load Wc-Cart-Fragments” in Theme Options > Speed optimization, clear cache and check then.
    Let us know results.

    Regards

    Avatar: HmirceaD
    HmirceaD
    Participant
    August 2, 2022 at 15:03

    Hello,

    I enabled the option, but the functionality is still broken. I deleted the browser cache and even tried in incognito.

    The product gets added to the cart, the price shows for 1-2 seconds and the disappears, then when I check the cart is shows empty.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 2, 2022 at 15:18

    Hello,

    Thanks for the reply.
    Try to disable all the third-party plugins (including cache plugins), that do not come bundled with XStore https://xstore.helpscoutdocs.com/article/36-included-plugins , clear cache of browser, and check then. Maybe one of the additional plugins is a reason for the problem. Let us know the result.

    Regards

    Avatar: HmirceaD
    HmirceaD
    Participant
    August 2, 2022 at 17:31

    Thank you Rose, the problem was my shipping plugin, it s fixed now.

  • Viewing 5 results - 1 through 5 (of 5 total)

The issue related to '‘Products are not added to cart correctly after disabling Ajax’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.