News:

Looking for documentation? Take a look on our wiki

Main Menu

product unit price not showing

Started by mabeall32, October 02, 2013, 20:57:15 PM

Previous topic - Next topic

mabeall32

yes, it has always been there except this last release.

jjk

Looking at your product prices I suppose it will be sufficient if you go to your VM Configuration > Pricing, and select only the 'Discounted Price without tax' (which is the default display in the cart's 'Price' column) and 'Final Sales Price'. Unselect the others. 'Unit Price' is something different. You can use it if you would sell for example carpets with a price per square feet.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

mabeall32

Ok, I unselected all the other and left what you suggested.  still no unit price on cart

jjk

#18
I'm sorry, but at present I can't reproduce your problem with the price settings I can see in your screenshots. In my own shop I have a similar result in the cart view, but in my case this is due to using some custom calculation and tax rules. The workaround I'm using for the cart is:


Single product price doesn't show in column before quantity
Original file:
my-root-directory\components\com_virtuemart\views\cart\tmpl\default_pricelist.php
line 162
     echo $this->currencyDisplay->createPriceDiv ('basePriceVariant', '', $this->cart->pricesUnformatted[$pkey], FALSE);

placed a copy of this file (template override) in:
my-root-directory\templates\my-template\html\com_virtuemart\cart\default_pricelist.php
and changed the above line in the override file to:

     echo $this->currencyDisplay->createPriceDiv ('salesPrice', '', $this->cart->pricesUnformatted[$pkey], FALSE);



However, I suppose your case shows the same result as mine, but probably because of a different reason. So I doubt that the above solution will work for you.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations