AJAX cart drawer not loading for Buy Button added to Page section

Highlighted
Shopify Partner
1 0 0

Hello,

My site is running the Brooklyn theme.  If I add to cart from the a Product Page or open the cart from the header (cart icon), the cart drawer opens as expected.

I added a buy button to a page template by creating a new section and adding the buy button code from the product-template section.  Items add to cart as expected, but instead of the cart tray opening, the page refreshes on the actual cart page.

 

Pages below - password is "foodisgood"

Working Product Page:  https://eatingrd-dev.myshopify.com/products/avocado-toast

Half-working Custom Page: https://eatingrd-dev.myshopify.com/pages/current-lunch-delivery-menu

Note that the cart button in the header works as expected on the Custom Page.

Any help would be appreciated.  Thanks!

0 Likes
Highlighted
Shopify Staff
Shopify Staff
114 0 17

Hey Chris!

 Dave here from the Guru Team

 I noticed you posted to the Shopify Discussion section, but this question is better suited to our Shopify Design board so I’ve gone ahead and moved it for you to help get the right eyes on your question!

I Hope this helps :) 

All the Best, 
Dave | Shopify

0 Likes
Highlighted
Tourist
9 0 4

Hi! Can you please tell me how you got the Cart Drawer to open when you click "Add to Cart" from the COLLECTION page?

0 Likes