#magical_starfish_18520

1 messages · Page 1 of 1 (latest)

latent caveBOT
vague nebula
#

Hi 👋

The Discount isn't per item AFAIK, it's the amount off the total

#

Can you share the discount or Invoice item ID?

dapper ember
#

can I send ids from test environment?

vague nebula
#

Sure

dapper ember
#

Ok here is my example. I have coupon id: SzyPfjm2 which applies to prod_MMIZW0VVGx4jlt

#

And here is the Invoice I created in_1NZ2pyE2ZBC7fWNtzZbu1qGo

#

As you can see I wanted to buy 3 t-shirts (16 each) and add a promo of $5 off for each. But the discount was only for $5 dollars total.

vague nebula
#

Right, because that's how our discounts work

#

They don't track quantity

dapper ember
#

Ok, so sounds like I will have to loop through each item if i want to apply to each

vague nebula
#

Yeah, looking at the underlying Coupon co_1NZ2mmE2ZBC7fWNtvhATYgVS it's literally just $5 off

latent caveBOT
dapper ember
#

gotcha thats what I figured. I thought perhaps it would be possible to add a multiplier since I'm buying 3 tshirts and the coupon is applicable to each.