The Merchant is asking us to replicate what we did with Shopify Scripts.
Logic:
Increase or Decrease the % of discount based on:
-
Entered Discount code
-
Product Tag
Example:
-
User entered the Coupon Code EXTRA20 (20% discount)
-
The Product has tag Sale (will get an extra 10% Off)
Result: We increase the Discount to 30%