VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: lukelee on May 31, 2013, 08:12:21 AM

Title: Product Price not showing in cart
Post by: lukelee on May 31, 2013, 08:12:21 AM
I have done a lot searches, but just couldn't find the solution. I am using virtuemart 2.0.20b and joomla 2.5.8, template is Atomic - Default, no override.
In Cart page, the product price is not showing, final price, tax are showing with no errors.
Anyone know how to fix this? Many thanks.
Title: Re: Product Price not showing in cart
Post by: Jumbo! on June 02, 2013, 08:03:12 AM
You say Final Price is working but not product price. What does it mean? Unable to understand you correctly. Explain with a screenshot.
Title: Re: Product Price not showing in cart
Post by: lukelee on June 02, 2013, 08:20:19 AM
Thank you,Jumbo. I have attached an image.
(http://hytechworkboots.com.au/123.png)
Title: Re: Product Price not showing in cart
Post by: AH on June 02, 2013, 13:48:44 PM
Go into the admin of VM and set the prices to display

Configuration/pricing

This is what I have set and displays fine.

You may want to create an override for your price display for the product page if you do not want to show a lot of prices on the product page.  But if you turn some of the prices off to stop them displaying on the product page, they will not appear in the cart (annoying I know, but that is how it currently works)



[attachment cleanup by admin]
Title: Re: Product Price not showing in cart
Post by: lukelee on June 04, 2013, 12:43:57 PM
Quote from: Hutson on June 02, 2013, 13:48:44 PM
Go into the admin of VM and set the prices to display

Configuration/pricing

This is what I have set and displays fine.

You may want to create an override for your price display for the product page if you do not want to show a lot of prices on the product page.  But if you turn some of the prices off to stop them displaying on the product page, they will not appear in the cart (annoying I know, but that is how it currently works)


Thank you very much, it's working now :)
Title: Re: Product Price not showing in cart
Post by: AH on June 04, 2013, 13:38:36 PM
 8)
Title: Re: Product Price not showing in cart
Post by: tutnet on June 28, 2013, 15:12:25 PM
Thanks - I sent hours on this one......Kudos
Title: Re: Product Price not showing in cart
Post by: jaymokurtz12 on June 27, 2014, 12:26:05 PM
Hi....am getting this same problem on my site.... i can view prices on single product but when i add it to cart i cart see the product name and price so total price remains zero....am using VirtueMart 2.6.6 and joomla 2.5.8.... please help
Title: Re: Product Price not showing in cart
Post by: jenkinhill on June 27, 2014, 12:30:34 PM
Joomla 2.5.8? Please see http://forum.virtuemart.net/index.php?topic=118683.0

The problem reported in this thread is a year old, with previous VM versions. You don't provide a url but I'd guess you are using a commercial template with VirtueMart layout overrides?
Title: Re: Product Price not showing in cart
Post by: jaymokurtz12 on June 27, 2014, 12:38:15 PM
so it can be solved with my current joomla version 2.5.8 ?
Title: Re: Product Price not showing in cart
Post by: jenkinhill on June 27, 2014, 13:03:14 PM
NO! The issue there is that your Joomla version and therefore your site is insecure and could get hacked!

What is the URL?
Title: Re: Product Price not showing in cart
Post by: jaymokurtz12 on June 27, 2014, 13:07:29 PM
http://anchorflourmillers.com/ .... PHP 5.3.28  ITS NOT HACKED
Title: Re: Product Price not showing in cart
Post by: jenkinhill on June 27, 2014, 15:01:29 PM
Not hacked yet, but if it should get hacked then who would be held responsible for failing to maintain security?

You have JavaScript issues on the site, partly due to loading two jQuery versions. The first one for VM is OK but then you load a later version:
<script src="/libraries/expose/interface/js/jquery-1.7.2.min.js" type="text/javascript"></script>

The errors on product page show as:
TypeError: jQuery(...).fancybox is not a function
TypeError: $.fancybox is undefined   
vmprices.js (line 62)
Firefox can't establish a connection to the server at wss://us28.zopim.com/s/W/ws/PIjPpmsd32rFcbUG/c/1403873602370

And on the checkout page as:
TypeError: $(...).chosen is not a function

For jQuery debugging see http://forum.virtuemart.net/index.php?topic=119638.0
Title: Re: Product Price not showing in cart
Post by: jaymokurtz12 on June 27, 2014, 16:16:20 PM
Thank man... you have helped me now working ok...i deleted the jquery-1.7.1.min.js and retained the 1.8 ...........thank you.... what your suggestions to improve my security?
Title: Re: Product Price not showing in cart
Post by: jenkinhill on June 27, 2014, 16:48:11 PM
Update Joomla and subscribe to security feeds for Joomla and all components used on the site.
Title: Re: Product Price not showing in cart
Post by: wknuvers on July 04, 2014, 15:07:49 PM
Dear all,
I had the same problem: in the backend all products were put in correctly with the corrcet prices. However, in the frontend it showed call for price, base price was filled (i.e. 8 euro's) but sales price was empty. When I added products to cart, which was possible by the way, the amount the sales prices were 0,00 euro, but discount of 20 euro's was specified??! On the net I found lots of solutions, most of them which had to do entering and changing coding in several php files.

Solution: in my specific case the solution appeared to be simple (after some days :(): in the product properties there was a checkmark in "Overwrite final" which should have been the option "Disabled" !!! After done all of the searching and finding this solution it seems obvious, but it took me days to find it. Hopefully you all will be more lucky and find this post within minutes which will save you days of trying and searching and swearing ......
Title: Re: Product Price not showing in cart
Post by: AH on July 05, 2014, 12:35:52 PM
good advice Wknuvers. Thanks for letting other know how you solved your particular problem.