Problem with "Add to Cart" for certain products

This topic has 4 replies, 3 voices, and was last updated 3 years, 10 months ago ago by Rose Tyler

  • Avatar: gdd
    gdd
    Participant
    January 20, 2021 at 18:08

    Hi…

    When adding a particular product that has certain product attributes, the add to cart button doesn’t work. It gets stuck on the spinner. We’ve already contacted WooCommerce and they determined the issue stems from an Ajax call done from the xStore theme — ajax-spy-add-to-cart.min.js. It makes sense, since the problems started after the last xstore update. Can someone take a look at this?

    Thanks!

    Please, contact administrator
    for this information.
    3 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    January 20, 2021 at 21:58

    Hello,

    1) Go to Theme Options > WooCommerce > Single product > disable Ajax add to cart.
    2) Open wp-content/themes/xstore/js/ajax-spv-add-to-cart.min.js file and remove all the code. Save changes.
    Try to add to the cart after that.

    This issue will be fixed in the next theme update.

    Regards

    Avatar: gdd
    gdd
    Participant
    January 21, 2021 at 02:36

    Thank you! It’s working now. This shouldn’t affect anything else in the shop right? Looking forward to the update.

    -G-

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 21, 2021 at 08:08

    You’re welcome!
    This change is safe for everything else in your shop.

    Regards

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

You must be logged in to reply to this topic.Log in/Sign up

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