View Issue Details

IDProjectCategoryView StatusLast Update
0003101OXID eShop (all versions)1.02. Price calculations (discounts, coupons, additional costs etc.)public2015-12-01 10:22
Status acknowledgedResolutionopen 
Product Version4.5.0 revision 34568 
Target VersionFixed in Version 
Summary0003101: delivery cost is not recalculated after discount in basket
Descriptionfirst, we have a delivery for free rule for a basket with final value of 150€.
If the final value of the basket is bigger than 150€, delivery cost is free. Without discount it works as is should.
But if a discount reduce the final price - for example, to 140€ - the delivery cost is still free. Normally it should set to 10€ delivery cost, because the final value is fewer than 150€.

The solution:
Implement additional option for calculating the Shipping Costs with Discounts included. Means - current option in Shipping cost rules "Price" should be replaced with two options:
1. Order Value. When this option is selected, when counting costs of Shipping (also checks availability of Shipping rule) it should valuate only the Total Value of the Order, which includes only Product prices multiplied by Quantities (before the Discounts and Additional Costs included). Currently it works the same way as described.
2. Discounted Order Value. When this option is selected, during calculation of shipping costs (and checking availability of Shipping rules), it should count the Order value WITH the all discounts deducted (discounts and coupons also), but before the Additional costs (such costs like Payment, Greeting Card, etc. should not be counted).

Also need to change description in Help text to proper one, which explains both options in details.
Steps To Reproducemake a discount 11%
set two delivery sets:

1. < 150 -> 10 € delivery cost.
2. > 150 -> 0 € delivery cost.

add 6x article number 3552-1. (27,90 €)

TagsDelivery, Discount
PHP VersionNot defined
MySQL VersionNot defined


There are no notes attached to this issue.