How can I fix the 'Add to bag' button to pop up a cart window?

Hello there!

I have issue with the “Add to bag” option that when I click on the button it direct me immediately to check out(in product page).

I want it to make a pop-up cart window like this :

*using craft theme.

if someone know how to fix it it will be great

https://salvedesign.com/

Hi, @SalveDesign . I’m happy to help with this! Are you working on any other customizations to your theme at the moment?

You can change your cart setting to be a pop-up cart by updating the setting in your theme editor. To get there go to ‘Online store’ > ‘Themes’ > ‘Customize’ (next to the theme you want to edit). Once you’re in your theme editor go to your ‘Theme settings’ and click ‘Cart’. Here, you’ll see the ‘Cart type’ setting where you can select ‘Popup notification’. Once this is saved it will be updated on your online store.

If your cart still isn’t working correctly after you do this, I recommend reaching out to our support team here. Since you’re using a theme created by Shopify we would be able to look into this further with you. We aren’t able to see your settings over the Shopify Community, but if you contact us through the page I shared we’d be able to review this with you in more detail.

Please let me know if you have any questions!

1 Like

Hello Erin, thank you for the support.

In the theme settings its already on pop-up notification mode but it works only on home page and not on product page.

what I want is that it will do the same thing in product page.

Hi, @SalveDesign . Thank you for getting back to me with that context!

Your pop up cart should still open when you add products to your cart on a product page. To clarify, on your product pages are you clicking ‘Add to cart’ or are you clicking a dynamic checkout button like the ‘Buy it now’ or ‘Buy with Shop Pay’ buttons? The reason I ask is that if you are clicking a dynamic checkout button, it’s expected behaviour for the page to bring you directly to the checkout. You can read more about dynamic checkout butons here. If you are clicking ‘Add to cart’ and noticing this issue, I recommend reaching out to our support team here so that we can review this with you. We can’t see your theme settings here over the Shopify Community, but if you speak with us through the page I shared we’d be able to look into this with you further.