VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: mabeall32 on October 02, 2013, 20:57:15 PM

Title: product unit price not showing
Post by: mabeall32 on October 02, 2013, 20:57:15 PM
I just installed virtuemart 2.0.24 using joomla 2.5.14 and the united prices is not showing.  I have the prices check on the config page but nothing is showing.
Title: Re: product unit price not showing
Post by: jenkinhill on October 02, 2013, 23:31:46 PM
You have template overrides that need updating?
Title: Re: product unit price not showing
Post by: mabeall32 on October 03, 2013, 17:41:28 PM
I don't have any template overrides.  I switch it with Breez2 to see if it was something in my template.  but it didn't show the unit price either.
Title: Re: product unit price not showing
Post by: Maxim Pishnyak on October 03, 2013, 18:00:32 PM
Your Price setup in VM config? Something about Standardized price?
Title: Re: product unit price not showing
Post by: mabeall32 on October 03, 2013, 18:23:09 PM
all prices in the config pricing tab are checked.  I've reinstalled it the 2.0.24.  I've tried all I know.
Title: Re: product unit price not showing
Post by: Maxim Pishnyak on October 06, 2013, 13:58:17 PM
You didn't filled this specific price in your product edit page?
Title: Re: product unit price not showing
Post by: mabeall32 on October 06, 2013, 14:08:42 PM
what specific price?
see attached.

[attachment cleanup by admin]
Title: Re: product unit price not showing
Post by: Maxim Pishnyak on October 06, 2013, 14:22:07 PM
Sorry, I worked with this price more then year ago.
On the product edit page 'Product Dimensions and Weight' fill 'Product Packaging'. Test on product details page (url?).
Title: Re: product unit price not showing
Post by: mabeall32 on October 06, 2013, 15:07:49 PM
Ok, I added something to the product packaging. nothing happen, I added something to all the fields on the page. nothing happens. still no unit price in checkout.

[attachment cleanup by admin]
Title: Re: product unit price not showing
Post by: Maxim Pishnyak on October 06, 2013, 18:22:38 PM
Quote from: Maxim Pishnyak on October 06, 2013, 14:22:07 PM
Test on product details page (url?).
Title: Re: product unit price not showing
Post by: mabeall32 on October 06, 2013, 22:38:23 PM
what do you want me to test on the url.  the price on the product detail page shows up. it doesn't show on the checkout page only.
Title: Re: product unit price not showing
Post by: Maxim Pishnyak on October 08, 2013, 15:40:28 PM
I reported this, thank you. Also I updated your VM AIO to the 2.0.24.
Title: Re: product unit price not showing
Post by: Milbo on October 08, 2013, 17:25:11 PM
I dont understand this, please explain. the price is in the productdetails, but missing in the cart? It was there before?
Title: Re: product unit price not showing
Post by: mabeall32 on October 08, 2013, 17:32:37 PM
yes, It has always been there, but when I installed it on the test site 2.0.24 the price on the cart doesn't show.  I have another site that I updated but it shows.  I even changed template to breez2? and it still didn't show.   
Title: Re: product unit price not showing
Post by: jjk on October 08, 2013, 18:00:57 PM
Do you want the price display like in the image below (I modified your cart screenshot)?

[attachment cleanup by admin]
Title: Re: product unit price not showing
Post by: mabeall32 on October 08, 2013, 18:27:11 PM
yes, it has always been there except this last release.
Title: Re: product unit price not showing
Post by: jjk on October 08, 2013, 19:38:15 PM
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.
Title: Re: product unit price not showing
Post by: mabeall32 on October 08, 2013, 20:10:50 PM
Ok, I unselected all the other and left what you suggested.  still no unit price on cart
Title: Re: product unit price not showing
Post by: jjk on October 08, 2013, 22:47:25 PM
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.