View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0006400||OXID eShop (all versions)||2.6. Administer orders||public||2016-05-26 15:14||2016-05-27 09:16|
|Product Version||4.9.8 / 5.2.8|
|Target Version||Fixed in Version|
|Summary||0006400: Adding discount or shipping cost per Admin->Order->Main deletes user group specific discount and sets wrong total|
|Description||I tested this in the current 4.9.8 demoshop.oxid-esales.com|
I have a discount of 10% on everything for all users in a specific user group.
When I add an additional discount or special shipping costs via Admin->Orders->Main, the order is recalculated and the discount is deleted respectively a wrong total is calculated. When I go to Admin->Order->Articles and press "Aktualisieren"/'Update order', the discount are applied again, but the discount and shipping costs I added via Main are deleted again.
Funnily, in 4.9.8 the discounted article prices are still shown in the Order->Articles list, but they are not used in the calculation.
In 4.9.7, the non-discounted prices are shown after applying an additional discount or shipping costs via Order->Main.
|Steps To Reproduce||Go to demoshop.oxid-esales.com|
Create a Usergroup called Discount10, add a user XYZ (any test user, remember him) to the group.
Create a discount of 10%, set it active, in the User tab, choose the gruop Discount10. This discount will now apply for Users in group Discount10 and give them 10% on everything.
Go to Orders. Choose an order by user XYZ; go to Order->Articles, look at the prices of the articles in the order, press 'update', now the prices are reduces by 10% and the totals are set accordingly.
Go to Order->Main, set a discount of 20 Euro, look at the totals now: They are wrong, not even just that the discount is not applied, but it's a new, wrong total.
|Tags||Admin, Calculations, Order Recalculation|
|PHP Version||Not defined|
|Database Version||Not defined|