News:

Support the VirtueMart project and become a member

Main Menu

Product price and total price is missing in cart

Started by Marian, March 15, 2015, 13:05:51 PM

Previous topic - Next topic

Marian

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!

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation