Hi,
We need to assign an image to a discount orderline. We created an item list (website) so the user could assign an image to a discount.
So far so good and we did that with Sales Discount for a client, but there are 2 problems:
- We don't get a tag with the DiscountID - we used Razor for that (bad for performance though)
var orderLine = Dynamicweb.eCommerce.Orders.OrderLine.GetOrderLineByID(str_orderId); string discountId = orderLine.DiscountID.ToString();
-
Using the Discount Matrix, the orderline does not have a DiscountID, when we use a reusable discount code
These situations are both in 8.5.1.14. It looks like a bug both in the the tags (issue 1) and the discount matrix (issue 2). Can someone confirm?
Best Regards,
Nuno Aguiar