• First, my theme uses ajax add to cart but it doesn’t apply to the WC: add to cart button.
    If I wanted users to go to the product page I wouldn’t need the add to cart button.

    Please, is there a way to stop the redirection to the product page, as it doesn’t work like the theme’s default (with Ajax).

    At least let it stay on the same page.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Contributor HT Plugins

    (@htplugins)

    Hello @sirotwo

    Thank you very much for reaching out to us ??

    If you enable the ‘Show quantity’ option, it will be redirected to the single product page. Without the quantity field, the add to cart button works with Ajax and that is the woo-commerce default process for add to cart button.

    Currently, the feature ‘ajax add to cart with quantity field’ is not available in our plugin. We will think about it in the next update.

    Best Regards,
    HT Plugins

    Thread Starter Opeyemi Timothy

    (@sirotwo)

    Okay, Is there any hack or anything I can do to redirect it to a preferred page?

    And please have a touch on that feature.

    Thanks.

    Plugin Contributor HT Plugins

    (@htplugins)

    Hello @sirotwo,

    Actually, the recommended way is to implement the ajax submission.
    We are thinking bout it. Hopefully, in the future update, we will implement this.

    Best Regards,
    HT Plugins

    Thread Starter Opeyemi Timothy

    (@sirotwo)

    Okay, thanks.

    Plugin Contributor HT Plugins

    (@htplugins)

    Hello @sirotwo

    We, ve implemented ajax submission in our plugin.
    Please update the plugin in the latest version.
    Now it will not be redirected to the single product page.

    Best Regards,
    HT Plugins

    Thread Starter Opeyemi Timothy

    (@sirotwo)

    Thanks, A Bunch!

    Thread Starter Opeyemi Timothy

    (@sirotwo)

    It’s not working, it still redirects to the product page.

    Plugin Contributor HT Plugins

    (@htplugins)

    Hello @sirotwo

    Thanks for contacting us.

    We’ve checked our plugin on our site and it works properly.
    please make sure that WooCommerce ajax add to cart option is enabled or not.
    screenshot: https://prnt.sc/TbUmlfFUUquu
    If ajax add to cart is disabled from the WooCommerce setting then it will redirect to a single product page.

    Best Regards,
    HT Plugins

    Plugin Contributor HT Plugins

    (@htplugins)

    Hello @sirotwo

    Yes, we solved the problem and checked on several websites.
    As You are still facing the problem, It would be great if you could contact us at https://hasthemes.com/contact-us/
    Our support team would love to assist you with this.

    Best Regards,
    HT Plugins

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘How can I stop the WC: add-to-cart button from redirecting to product page’ is closed to new replies.