View Issue Details

IDProjectCategoryView StatusLast Update
0005811OXID eShop (all versions)2.4. Administer productspublic2015-10-05 12:15
Reportergpayer 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.8.6 / 5.1.6 
Target Version4.8.8 / 5.1.8Fixed in Version4.7.14 / 5.0.14 
Summary0005811: Selectlist prices are displayed wrong under certain circumstances
DescriptionThere is a copy&paste bug at the heart of this issue.

Please compare oxArticle::_preparePrice and oxUtils::_preparePrice. In one version an important change was included (using oxUser::isPriceViewModeNetto) but not in the other.

As oxUtils::_preparePrice is only used in the calculation of the selectlist strings with prices included, this only shows up under certain circumstances.
Steps To ReproduceConfiguration:

blEnterNetPrice = false
blShowNetPrice = false
bl_perfLoadSelectLists = true
bl_perfUseSelectlistPrice = true

Module:

Overwrite oxUser::isPriceViewModeNetto: e.g. always return true.
(This way the default mode is brutto and only registered users get netto mode)

Selectlist:

Create an arbitrary select list with some absolute price changes and assign at least one article.

Reproduction:

1. Log in
2. View the select list dropdown in the details view
=> It shows brutto prices and not netto prices.
3. Add an item to the basket
=> Now this is calculated correctly
TagsCalculations, Price Calculation, Selection List
ThemeAzure
BrowserAll
PHP Versionany
Database Versionany

Activities

There are no notes attached to this issue.