Hi there.
I am making an app that will have badges available for merchants to use, and I am planning for them to display something like “This purchase is worth 10 points”. However, the merchants will be able to choose from different point earning options, i.e 10 points per $100 spent or 10 points per entire transaction, or even 10. points per item ordered.
I’ve done some playing around and can see how you can use the cart object in liquid template to get the cart information, which makes it possible to make the badges dynamic in that way. However, I need to incorporate the merchant’s settings that are hosted in an external database.
Im quite new to shopify development, is there are way to do this or is it not feasible with liquid?
Also, please let me know if this is this wrong topic to be posting to, I tried to pick the most relevent one. Thanks!