Trigger cart modal on ajax add to cart (Archive and single)

Hello,

I am trying to find a way to trigger the cart modal in my header on ajax add to cart on the archive and single product pages.

The idea being a customer adds a product to the cart and the header cart modal is triggered, the customer then can decide to move towards checkout or continue shopping.

Similar to the feature seen in Shopify stores.

Please let me know if anybody has achieved this!

Thank you,

Aidan

Hi Aidan,

Thanks for writing in!

The Ajax add to cart setting in WooCommerce can be found in WooCommerce > Settings > Products tab. For more details, please check this out: https://docs.woocommerce.com/document/configuring-woocommerce-settings/

Hope this helps.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.