Ajax add to cart on single product page: variable products/ custom product types

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

  • Avatar: kumapanda
    kumapanda
    Participant
    November 8, 2017 at 13:48

    Hello xstore them,

    it would be great if you can implement ajax add to cart on single products page for all products. I contacted the support of Woocommerce product bundles plugin regarding ajax add to cart and got this answer:

    “However, this is not something that we can implement on our side, since AJAX Add-to-Cart functionality is not provided by WooCommerce core in single product pages we have no way to add support for this feature.

    Because this is a feature that is embedded in your theme, it’s your theme that needs to add support for custom product types such as Product Bundles.

    Checking whether a product instance supports AJAX Add to Cart functionality is rather straight-forward and can be done by calling $product->supports( ‘ajax_add_to_cart’ ).

    Feel free to share this with your theme author(s).”

    What do you think?

    Thank you – great to improve the theme :)…

    1 Answer
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 9, 2017 at 10:50

    Hello,

    I’ve passed your request to our developers, and maybe in one of next theme versions, it will be added.

    Regards

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

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

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