Hi, I have the following requirements for a feature
- Programmatically generate a code which allows users to have £10 off apparel in the store
- The code is generated via the Shopify api when a user completes an action on a different service.
- The code should be stackable. i.e. users can enter two codes and get £20 off
- The code can only be used for apparel (one collection) and not gift cards.
I have basically run into the following limitations:
- Order Discounts work best but cannot be restricted by collection
- Gift Cards could be an option but again cannot be restricted by collection
- Product Discounts can be restricted by collection but can not be stacked on a single collection
I have looked at some customisation options:
- Shopify Function (Checkout) - does not give access to discount codes programmatically
- Shopify Function (Discounts) - can only be used to generate a custom discount but will not override the default stacking limitations
- Shopify Function (Discount Allocation) - could work but involves replacing the default allocation engine which I would like to avoid.
Does anyone here know if there is some way to meet my requirements?
Thanks