Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
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!
Some help here would be very welcome please!
Did you ever get any help with this?
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025