I've been doing Shopify development for a little while now and my client has a specific need that I haven't found in the app store yet.
It needs to:
- Create two discount tiers based on total value of the cart (e.g. 10% off cart total more than $40 & 5% off cart total more than $80)
- Work only in the following two scenarios:
- Customer is NOT logged in
- Customer is logged in, but customer.tags DOES NOT contain 'wholesale'
- App preferably does not use coupons to alter price
- It must work in a modal sliding AJAX cart
So I'm thinking that it's about time I dive into making my first app, but I'm wondering how I should go about it and how difficult this will be for a first-time app. So far I'm well-versed in Shopify in general, Liquid, CSS, JavaScript & jQuery. However I don't have any experience with APIs (maybe I do and I just don't know I've used an API before).
What are some references I should look at before I start? In your experience, if you were starting this over again, how would you approach it?
Thanks in advance!