Add to cart button on shop page adding to cart using AJAX and not redirect

This topic has 2 replies, 2 voices, and was last updated 5 years, 6 months ago ago by Rose Tyler

  • Avatar: IvanMTK
    IvanMTK
    Participant
    October 16, 2018 at 20:09

    If you visit this URL (https://sskbaseballusa.com/product-category/baseball/ssk-gloves/ssk-fielding-gloves) on mobile or desktop, you will see that under each product on hover there should be a small button in which you can add the product to cart without going into the product page itself. On most products if you click the button, it will redirect you to the product page which is the functionality we want however if you click “Add to cart” on the first product on that page labeled “SSK JB9 YOUTH GLOVE”, you will see that it adds the product to cart via AJAX and doesn’t redirect to the product page. Is there any way we could disable AJAX add to cart on the shop page? We were able to disable it from the single product page but can’t find the option for the shop page.

    1 Answer
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    October 17, 2018 at 08:36

    Hello,

    This is default WooCommerce functionality. If you want to change this, It would be better to contact woocommerce support.

    Regards

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

The issue related to '‘Add to cart button on shop page adding to cart using AJAX and not redirect’' 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.