View Issue Details

IDProjectCategoryView StatusLast Update
0000968OXID eShop (all versions)2. ----- eShop backend (admin) -----public2010-03-25 07:45
Reportermarco_steinhaeuser Assigned To 
Status resolvedResolutionfixed 
Product Version4.1.2 revision 18998 
Fixed in Version4.3.0 revision 26948 
Summary0000968: wrong net price on order overview (admin)
DescriptionHaving a discount active with a Purchase Price >= 1, the calculation in checkout process runs well: The net price is calculated from the discounted article price. The wrong net price appears in admin area -> order overview where the net price is calculated from the NOT discounted article. In PDF fails as well.
Additional InformationFrom German forum:
TagsNo tags attached.
PHP Version6
Database Version6.0


related to 0000834 resolveddainius.bigelis wrong calculation for shipping costs using discount 
related to 0001008 resolvedralf_trapp cart calculation: cash discount is calculated ignoring vouchers 



2009-06-15 11:02

reporter   ~0001066

layout should be the same in admin as in front end.


2009-06-16 10:12

reporter   ~0001072

Reminder sent to: marco_steinhaeuser, ralf_trapp, Stefan_Werner

The main problem is that from data kept in oxorder table we cannot calculate exact products netto price after discount.

In oxorder we keep (according to example):
 - total products price (19.90 EUR);
 - total products netto price (16.80 EUR);
 - total discount (2.00 EUR).

From this data we cannot calculate discounted total products netto price because products VAT for products may vary; so formula ( "total products price" - "total discount" ) / VAT cannot be applied.

We need the decision here:
 - should we add another field in DB to store discounted netto price
 - or just start writing it in current netto price field;
 - change frontend layout (which is still not perfect yet)
 - or any other idea..


2009-06-16 10:20

reporter   ~0001073

As this needs decision and probably changes in the basket layout (and template changes, which means - goes to Next Major release only) - it is postponed until we will get response from management.


2009-06-16 10:21

reporter   ~0001074

Relations added to the bug entries, which also are waiting for decision for changing Basket layout


2010-02-22 19:38

reporter   ~0002367



2010-03-05 00:20

reporter   ~0002380

fixed by storing discounted net and 2 vat pairs in oxorder table


2010-03-10 09:21

reporter   ~0002402

Issue reopened, because some related bugs found after fix implemented


2010-03-25 07:45

reporter   ~0002429

fixed found issues, email and pdf layouts slightly changed.