How do I get my Cart to automatically open when a customer presses 'add to cart' on an item?

Tourist
7 0 0

Just confused on how to do this! I am using the Brooklyn Theme. Would just make my site more professional, then just reloading the page.

0 Likes
Shopify Partner
100 20 17

Hello

Hope you are doing well,

 

Brooklyn theme cart drawer already automatically open when someone clicks on add to cart, can you please share website link.

 

Thanks!

Want to modify or custom changes on store hire me.
If helpful then please Like and Accept Solution.
Email: codecorneres@gmail.com
Skype: code.corners
0 Likes
Shopify Expert
2514 423 533

Hi @rhyschristian 

If you want to redirect to cart page after adding product to cart then follow this:

1. Open theme editor->go to Theme setting->open "cart page" and select "page"->save

 

If you want to keep cart as drawer and any issue with this then send url 

Want to modify or custom changes on store hire me.
If helpful then please Like and Accept Solution.
Email: jasoliyabrijesh123@gmail.com
Skype: jasoliya.brijesh
Want to get Free review and advice for sale on store ?? just text me here
0 Likes
Shopify Expert
2514 423 533

Hi @rhyschristian 

As i can see you have added add to cart button out side of form tag, move into <form> tag,

1. Open Section->product-template.liquid->find name="add" (add to cart button) and place it before "{% endform %}".

 

Want to modify or custom changes on store hire me.
If helpful then please Like and Accept Solution.
Email: jasoliyabrijesh123@gmail.com
Skype: jasoliya.brijesh
Want to get Free review and advice for sale on store ?? just text me here
0 Likes
Tourist
7 0 0
That is not working!
0 Likes
Shopify Partner
100 20 17

Hi @rhyschristian 

 

You closed form tag before buttons please check screenshot and close {% endform %} after buttons div tag.

https://prnt.sc/pvcn04

 

go to product-template and search for {% endfor %}. cut {% enform %} and paste after like this one (screenshot:https://prnt.sc/pvcqk7)  

 

Thanks

Want to modify or custom changes on store hire me.
If helpful then please Like and Accept Solution.
Email: codecorneres@gmail.com
Skype: code.corners
0 Likes