Shopify themes, liquid, logos, and UX
in this code below, i want the "quick add" functionality which comes when i hover over the image, but on a permanent button below the price. when i click on "quick add", it opens the drawer, but when i click on the add to cart button i made, it goes on a whole separate cart page. how can i change the behavior so that it gives me a toast saying "added to cart" instead of opening any drawer or page?
code : https://pastecode.io/s/cmkbp76c
website: www.koaluxury.com
thanks in advance!
Hi,
What is theme you are using on your store?
First, you can check on setting of that theme, find to cart settings on Global setting and check here to change show cart-drawer instead of redirect to cart page.
If in case theme not support that feature, you need to add that feature by code. But i guess on all theme has support that feature show the cart-drawer.
i am using the broadcast theme. there is no option to change the type of drawer. i am not understanding how to do it by code
Oh, if your theme was bought on Shopify themes, you can asking help from theme's author. If not i can do it or you can asking to other development who familiar with code and Shopify can help you.
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025