AJAX add to cart button is not working (no wishlist plugin)

This topic has 6 replies, 2 voices, and was last updated 10 years, 3 months ago ago by Eva Kemp

  • Avatar: Ali Akil
    Ali Akil
    Participant
    March 5, 2015 at 15:56

    when a customer add a product to cart and pass from page one to page 2 in the category, the page tells him that the product is in already in cart in red.

    Replicate Issue:

    1- go to:

    https://www.eurocorals.com/en/shop/

    2- add a product.

    3- Go to the next page (from page 1 to 2)

    it will tell you that the product is already in cart :S in red.

    I contacted woothemes They replied this:

    Hi Ali,
    the issue is coming from your theme.

    If you enable the add to cart button and clicko n it on the shop page, it add products to the cart using this link:

    https://www.eurocorals.com/en/shop/?add-to-cart=11837

    Then when you change page, the part ?add-to-cart=11837 is not removed from the URL.
    The theme should instead use the AJAX add to cart button on that page, like it’s supposed by WooCommerce.

    Please contact the theme author to fix this issue. We are not able to fix it for them.

    Thanks! Have a good day

    I am not using the Wishlist plug in.
    The theme is updated to 2.6.2 (had this issue in other versions)
    woocomerce and other plugins updated.

    Note: It happens only when I use the add to cart bottom from the shop page. It is disable now becouse of the issue… You can enable it to test.

    thanks

    Please, contact administrator
    for this information.
    5 Answers
    Avatar: Eva
    Eva Kemp
    Participant
    March 5, 2015 at 20:09

    Hello,

    I’ve checked the Shop page, added a product to the cart and opened the second page. It has been opened successfully, without any warnings.
    Please clear your browser cache and check again or check it in another browser.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: Ali Akil
    Ali Akil
    Participant
    March 6, 2015 at 09:48

    Ok, now is working… Try this add a product and then add the same product. It will reload without saying any thing.

    thanks

    Avatar: Eva
    Eva Kemp
    Participant
    March 6, 2015 at 17:22

    Hello,

    In this case try to disable “Ajax “Add to cart”” in Theme Options > Single Product Page and check Shop page again.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: Ali Akil
    Ali Akil
    Participant
    March 7, 2015 at 15:51

    ok thanks 🙂

    Avatar: Eva
    Eva Kemp
    Participant
    March 7, 2015 at 20:00

    Hello,

    You’re welcome.

    Regards,
    Eva Kemp.

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

The issue related to '‘AJAX add to cart button is not working (no wishlist plugin)’' has been successfully resolved, and the topic is now closed for further responses

Helpful Topics

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