search
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
Generally speaking, DiscountAmount refers to either the amount (like $5.00 if you are using the value option) or the percentage (like 10% if you are using the percent option), and DiscountValue refers to the actual amount that is being discounted ($3.21 or something like that).
Hope that helps!
if Product A price is of price £30
For a value based discounts If Offer is something like £5 Off On ProductA, then product price will be 30 - (5)
If Offer is something like 5% Off On ProductA then product price will be 30 - (5% of 30)
Hi,
I am currently using OrderFormDiscount in episerver commerce 8.9, and there is an issue I am having.
The issue is how to distinguish between a percent or credit discount? Since either value can be set in DiscountAmount or DiscountValue.