Hi guys,
Please update your eCommerce Extensibility API documentation a.s.a.p.
In the current documentation you have an example of a SalesDiscountProvider that has a property called "Discount".
This is no longer necessary with the new version of Dynamicweb eCommerce, because the Discount value is already stored in the base class.
So developers can examine the following value to see the amount or percentage of discount:
base.DiscountValue
e.g.:
if (base.DiscountValue.Type == DiscountTypes.Percent)
{
.. do stuff
}
Took me some time to figure out why our current discount provider wasn't working anymore. It was because of the change you made.
Kind Regards,
E. Muller