Hi
I'm afraid You need to show this to VM support, because when I'm making a dump of prices than everything is ok, except for the one value: 'sales prace with discount', it's always showing 0. This part is handled by VM code, so let them fix it first, so I'll be able to add a code which would display 2 prices: old and new if discount is applied.
Here is a dump of prices for example product with discount:
- Code: Select all
["costPrice"]=>
string(8) "23.00000"
["basePrice"]=>
float(23)
["basePriceVariant"]=>
float(23)
["basePriceWithTax"]=>
float(27.83)
["discountedPriceWithoutTax"]=>
string(8) "15.00000"
["priceBeforeTax"]=>
string(8) "15.00000"
["salesPrice"]=>
float(18.15)
["taxAmount"]=>
float(3.15)
["salesPriceWithDiscount"]=>
float(0)
["salesPriceTemp"]=>
float(18.15)
["unitPrice"]=>
float(0)
["discountAmount"]=>
float(9.68)