Liquid, JavaScript, themes, sales channels
Hi all,
I have installed an app that allows customers to round-up their spend, in order to donate a few pence to charity each time they shop. However, the widget box has to appear inside my slide cart. This means that when a customer checks the widget to donate, the customer is then redirected to my main (Shopify) cart page - which I don't want.
I am told that in order to avoid this, I need to provide a drawer refresh function for the widget: Specifically, I need to assign a function to the window.dkRefreshCartAction variable. (That function takes a Shopify cart object, already with the donation included. It can be used to re-draw the content).
Can anyone please show me how I can do this?
Many thanks, Lizzie
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024