View Issue Details

IDProjectCategoryView StatusLast Update
0006400OXID eShop (all versions)2.6. Administer orderspublic2024-03-13 11:15
ReporterAlban Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status acknowledgedResolutionopen 
Product Version4.9.8 / 5.2.8 
Summary0006400: Adding discount or shipping cost per Admin->Order->Main deletes user group specific discount and sets wrong total
DescriptionI 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 ReproduceGo 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.
TagsAdmin, Calculations, Order Recalculation
ThemeNot defined
BrowserAll
PHP VersionNot defined
Database VersionNot defined

Activities

There are no notes attached to this issue.