VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: Marian on March 15, 2015, 13:05:51 PM

Title: Product price and total price is missing in cart
Post by: Marian on March 15, 2015, 13:05:51 PM
Situation:
VirtueMart 3.0.4 + Joomla! 3.4.0

In cart all prices is missing:

In .../components/com_virtuemart/views/cart/tmpl/default_pricelist.php

Variables:
(not work) $this->currencyDisplay->createPriceDiv ('discountedPriceWithoutTax', '', $prow->prices, FALSE, FALSE)
(work) $prow->prices['basePriceVariant']

(not work) $this->currencyDisplay->createPriceDiv ('salesPrice', '', $prow->prices, FALSE, FALSE, $prow->quantity)
(work) $prow->prices['salesPrice']*$prow->quantity

(not work) $this->currencyDisplay->createPriceDiv ('salesPrice', '', $this->cart->cartPrices, FALSE)
(work) $this->cart->cartPrices['salesPrice']

(not work) $this->currencyDisplay->createPriceDiv ('billTotal', '', $this->cart->cartPrices['billTotal'], FALSE)
(work) $this->cart->cartPrices['billTotal']

------------------------------------------------------------------------------------------------------------------------------------------------
In my case - with $prow-> ... loading and my modification of default_pricelist.php, now everything is OK!
Title: Re: Product price and total price is missing in cart
Post by: GJC Web Design on March 15, 2015, 13:34:38 PM
would assume your template needs updating