View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0005811 | OXID eShop (all versions) | 2.4. Administer products | public | 2014-07-08 10:22 | 2015-10-05 12:15 |
| Reporter | gpayer | Assigned To | |||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Product Version | 4.8.6 / 5.1.6 | ||||
| Target Version | 4.8.8 / 5.1.8 | Fixed in Version | 4.7.14 / 5.0.14 | ||
| Summary | 0005811: Selectlist prices are displayed wrong under certain circumstances | ||||
| Description | There 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 Reproduce | Configuration: 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 | ||||
| Tags | Calculations, Price Calculation, Selection List | ||||
| Theme | Azure | ||||
| Browser | All | ||||
| PHP Version | any | ||||
| Database Version | any | ||||