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!
Some help here would be very welcome please!
Did you ever get any help with this?
User | RANK |
---|---|
38 | |
28 | |
13 | |
11 | |
8 |
Transform this holiday season into a shopping spree. Plus, learn how to effortlessly open ...
By Jasonh Dec 8, 2023Make the shift from discounts to donations, and witness your business not only thrive fina...
By Holly Dec 4, 2023On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023