I’m working on developing a Shopify app that displays a progress bar in the cart page and cart drawer.
The goal of the progress bar is to show customers how close they are to reaching a free shipping threshold (for example, ₹2000), helping to encourage higher order values.
I would like to know the recommended approach to implement this feature as part of a Shopify app, without modifying the store’s theme directly.
My main questions are:
-
What is the best way to inject custom UI (like a progress bar) into the cart page and cart drawer via a Shopify app?
-
Are there any simple examples or official guidance available that I could follow?
-
How should I approach dynamically tracking the cart total and updating the progress bar?
Any help, insights, or pointers to useful resources would be very appreciated.