View Issue Details

IDProjectCategoryView StatusLast Update
0006761OXID eShop (all versions)1.02. Price calculations (discounts, coupons, additional costs etc.)public2018-01-05 11:56
Reportervanilla thunder Assigned To 
Status closedResolutionfixed 
Product Version6.0.0 
Fixed in Version6.0.1 
Summary0006761: oxVariantHandler always uses brutto price for MD Variants
Descriptionregardless configured netto / brutto price mode, oxvarianthandler always uses brutto price for building md variants

found originally in 4.10 but also appears in 6.0
Steps To Reproduce1) enable at least "Show net prices in frontend (B2B)" ( master settings -> core settings -> settings -> VAT )
2) insert my code from "additional information" into productmain.tpl line ~ 151
3) open Kuyichi Jeans ANNA

product price says "from 78,07 €" and you see "plus tax" in footer
but my table with md variants array shows brutto prices
Additional Information<table class="table table-striped table-bordered">
        [{foreach from=$aVariantSelections.selections item=oList key=iKey}]
        <td>[{oxmultilang ident="PRICE"}]</td>
    [{foreach from=$oDetailsProduct->getMdSubvariants() item=_mdVar key=iKey}]
        [{foreach from=$_mdVar->getMdSubvariants() item=_mdSubVar key=iSubKey name="mdsubvariants"}]
                [{if $smarty.foreach.mdsubvariants.first}]
                    <td valign="middle" style="vertical-align:middle;" rowspan="[{$_mdVar->getMdSubvariants()|@count}]">[{$_mdVar->getName()}]</td>
                <td>[{oxprice price=$_mdSubVar->getDPrice()}]</td>
TagsSolution Provided, Variants, VAT
ThemeNot defined
BrowserNot defined
PHP VersionNot defined
Database VersionNot defined


vanilla thunder

2017-12-27 00:43

reporter   ~0012329

PR with suggested fix:


2018-01-05 11:56

administrator   ~0012345

Thanks, pull request had been merged recently to b-6.x