View Issue Details

IDProjectCategoryView StatusLast Update
0002531OXID eShop (all versions)2.6. Administer orderspublic2012-12-10 13:17
Reporterhenrik.steffen Assigned To 
PriorityurgentSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
PlatformallOSallOS Versionall
Product Version4.4.6 revision 32697 
Fixed in Version4.6.0_beta2 
Summary0002531: Error in price calculation when one item is cancelled in admin-area
DescriptionWhen cancelling an article from existing order via the admin-panel, the brut-sum is updated, however, the articles remain on the bill and the bill is invalid.
Steps To ReproduceI tested this in:
http://demoshop.oxid-esales.com/professional-edition

Pick the following products:
2 x 2028 Wanduhr EXIT
1 x 2024 Popcornschale PINK
1 x 1432 Badeschaum Tainted Love
2 x 1952 Hangover Pack LITTLE HELPER

The net-sum is: 69,66
The VAT 19% is 13,24
Shipping is 0,00
Brut-sum is 82,90

Now change to admin panel and change amount of item "2028 Wanduhr EXIT" from 2 to 1. Then hit update. Next step is to cancel the item "1952 Hangover Pack LITTLE". DO NOT hit update now. The page will be refreshed and the calculation is wrong.

Now print the pdf invoice.

I'll have mine attached here.

TagsPDF Invoice
Attached Files
1_Steffen.pdf (5,544 bytes)
ThemeBoth
BrowserAll
PHP Versionany
Database Versionany

Activities

arvydas_vapsva

2011-08-24 15:01

reporter   ~0005100

if you need urgent fix try to make an order which extends "myorder" class:

class modmyorder extends modmyorder_parent
{
    public function getOrderArticles( $blStorno = false )
    {
        return oxORder::getOrderArticles();
    }
}

thus you will not see canceled products in invoice.