Hi everyone,
I have noticed an issue with the discount calculation for orders which have been completed in the DynamicWeb eCommerce. It is manifesting itself in the back-end print order screen where some of the order lines are showing the wrong total price, i.e. they show the price without a discount, when in fact they were bought with a product discount.
I am using the Ecom:Order:OrderLine.TotalPriceWithProductDiscounts template tag to display the total price for an order line in the print order templates.
Another thing I noticed, is that this situation changed with time, e.g. there was one order with one order line showing the incorrect price, and some days later - two of the order lines in the same order were showing an incorrect price (a price without discount while the respective products have always been in an Ecom Group with a 10% discount for all users - even those not logged in, and the discount has been active since a long time ago without a future time limit). I observed the two products and noticed that the purchased variants in the two order lines with the incorrect price were both out of stock. In fact, those order lines were the only order lines which had a variant which is out of stock.
This led me to the conclusion that the issue is caused by the order line having a product variant which is out of stock.
Has anyone else experienced this? Does anyone agree or disagree with what I have written here? Does anyone know of a workaround? Does anyone else think this should be reported as a bug?
The system information (if any of it seems relevant):
Content version | 20.2.1.11 |
Assembly versions |
Dynamicweb.dll 8.2.1.11
8.2.1.11 Dynamicweb, Version=8.0.0.0, Culture=neutral, PublicKeyToken=null
Dynamicweb.Admin.dll 8.2.1.11
Dynamicweb.Admin, Version=8.0.0.0, Culture=neutral, PublicKeyToken=null
Dynamicweb.Controls.dll 8.2.1.11
Dynamicweb.Controls, Version=8.0.0.0, Culture=neutral, PublicKeyToken=null
|
Build date | fr, 03 maj 2013 11:47 |
.NET Runtime version | v4.0.30319 |
Application bit version | 64Bit |
OS type | AMD64 (Microsoft Windows NT 6.1.7601 Service Pack 1) |
Thanks in advance,
Alexander