VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: elleclouds on April 19, 2012, 05:45:27 AM

Title: Updated.. now no prices show in checkout..
Post by: elleclouds on April 19, 2012, 05:45:27 AM
I have 3 different sites using VM and none are showing the prices in checkout.  I have checked my shopper groups, and show prices in configurations, but no option has helped me get my prices to show in checkout.  Weird thing is that they showed when I first built the store.. Please help me

(http://dl.dropbox.com/u/7892816/Untitled-4.png)
Title: Re: Updated.. now no prices show in checkout..
Post by: razol on April 19, 2012, 12:01:59 PM
I think you can allow the final price or something else from the price show table... i hope  :o
Title: Re: Updated.. now no prices show in checkout..
Post by: Gilesy on April 19, 2012, 12:35:53 PM
Same on my shop after the upgrade to 2.0.6
Title: Re: Updated.. now no prices show in checkout..
Post by: tha1977 on April 19, 2012, 12:59:09 PM
Same on my 2.0.4  :(
Title: Re: Updated.. now no prices show in checkout..
Post by: jenkinhill on April 19, 2012, 13:03:24 PM
If you are using template overrides you may need to look at these as some price functions have changed.

See the release announcemet: http://virtuemart.net/news/list-all-news/417-happy-easter-new-virtuemart-204-released-security-update-sqli

You can read the change doc though the link on "You have the latest version 2.0.6 " or direct at http://virtuemart.net/index.php?option=com_content&id=416&tmpl=component
Title: Re: Updated.. now no prices show in checkout..
Post by: elleclouds on April 19, 2012, 16:35:09 PM
So after reading the release notes and changes, what am I suppose to do?  I'm the average user and have been loving virtuemart thus far because of its many options and simplicity. Would I have to change my template overrides or change up
Some code? The text below shows me that the call function for prices has changed, but how should a
Person like me whose been using virtuemart on my sites before adapt to these changes w/o losing my current formatted site?

"From VM 2.0.2 To 2.0.4

If you use another template then the default one provided, please adapt it to those changes :

1) The calls for creating the prices have been changed
The display:

$prow->subtotal_tax_amount

has been changed to

$this->currencyDisplay->createPriceDiv('taxAmount','', $this->cart->pricesUnformatted[$pkey],false,false,$prow->quantity)

The reason for this change is that the prices are not stored anylonger in the cart to keep the session clean, so that more products can be added to the cart.
The file affected by these change is :
- all price layouts in the cart
=> /components/com_virtuemart/views/cart/tmpl/default_pricelist.php

2) The function priceDisplay has changed

Before:

echo $this->currency->priceDisplay( $item->product_basePriceWithTax)

Now:

echo  $this->currency->priceDisplay( $item->product_basePriceWithTax ,0, $qtt)

Files affected are:

=> /components/com_virtuemart/views/invoice/tmpl/invoice_items.php
=> /components/com_virtuemart/views/invoice/tmpl/mail_html_pricelist.php
=> /components/com_virtuemart/views/invoice/tmpl/mail_html_pricelist.php

3) display of the single items in the cart, mails, invoice and orders
Furthermore we changed the display of the single items in the cart, mails, invoice and orders.
When you used overwrites consider to start with the new layout and add your changes again,
it may be faster and cleaner.
Title: Re: Updated.. now no prices show in checkout..
Post by: elleclouds on April 19, 2012, 18:21:46 PM
Please can anyone help with this issue?  I literally have 3 shops that don't show prices when customers are attempting to checkout and it's causing confusion.  How can I resolve this issue in a timely fashion? I noticed when I used the default joomla templates, the prices show, but not on my custom template which came virtuemart ready.  What files could i update to reflect the default coding in my current template?

Is it possible to downgrade without losing products?  I know that will make me susceptible to exploits, but at this point, I have no way of providing prices to my customers upon checkout.  Can I replace the updated lines of coding with the old ones or will this stop VM from functioning correctly?  Any help would be greatly appreciated!!
Title: Re: Updated.. now no prices show in checkout..
Post by: jenkinhill on April 19, 2012, 20:52:56 PM
Quote from: elleclouds on April 19, 2012, 18:21:46 PM
I noticed when I used the default joomla templates, the prices show, but not on my custom template which came virtuemart ready.

Your template developer should already have made an update available if it was a commercial product, so I suggest you contact them. If using overrides you could remove them and the default VM2.0.6 files could then be used.

You can downgrade the fileset by using ftp to upload and ealier version and overwriting the files, but I don't know if there will be an issue with database changes. Note that VM versions prior to 2.0.4 have a known security issue so should not be used on a live site. Certainly you would fail PCI compliance.

Title: Re: Updated.. now no prices show in checkout..
Post by: elleclouds on April 19, 2012, 21:58:44 PM
Where would the overrides be located? Any idea. I guess I know next time I'll either lose my prices or be vulnerable to an exploit. Seems kinda shortsighted. I left redshop due to many complicated issues that could
Only be solved by their staff, now I'm forced to choose between security and function.
Title: Re: Updated.. now no prices show in checkout..
Post by: elleclouds on April 20, 2012, 06:07:35 AM
So there has not been an update from my commercial template and I have chosen to downgrade the files by uploading the VM2.02 files that were changed.  No results.  Is there any way to resolve this issue without losing the products in my stores?  Anyone with knowledge of this issue, please lend a helping hand.  I've downgraded the files below and no change has happened and my prices are still absent in all my carts.

=> /components/com_virtuemart/views/invoice/tmpl/invoice_items.php
=> /components/com_virtuemart/views/invoice/tmpl/mail_html_pricelist.php
=> /components/com_virtuemart/views/invoice/tmpl/mail_html_pricelist.php
/components/com_virtuemart/views/cart/tmpl/default_pricelist.php
components/com_virtuemart/views/invoice/tmpl/invoice_items.php
components/com_virtuemart/views/invoice/tmpl/mail_html_pricelist.php
components/com_virtuemart/views/user/tmpl/edit_address.php
components/com_virtuemart/views/user/tmpl/edit_shopper.php
=> /components/com_virtuemart/views/cart/tmpl/default_pricelist.php
components/com_virtuemart/views/askquestion/tmpl/form.php
Title: Re: Updated.. now no prices show in checkout..
Post by: tha1977 on April 20, 2012, 17:07:05 PM
I checked the changes mentioned above, after updating from 2.0.4. to 2.0.6 and it seems all files were updated automatically to the newest versions. Still, there are no prices shown in the shopping cart. So, it seems we need to dig deeper to see what's wrong.

[attachment cleanup by admin]
Title: Re: Updated.. now no prices show in checkout..
Post by: sremac on April 20, 2012, 17:25:14 PM
Same problem :-[what we are going to do :o????
Title: Re: Updated.. now no prices show in checkout..
Post by: jenkinhill on April 21, 2012, 16:40:00 PM
Check for a template override - look in your Joomla template html directory for com_virtuemart/cart/  subdirectories. If there are files in that /cart/ directory then you are using overrides. The one causing the problem is default_pricelist.php (or it may have been renamed) - if present then try renaming the file extension, eg to .txt and then check if prices show in the checkout.

I just fixed this issue for a client of mine who had installed a commercial Joomla template for VM2 which used a lot of overrides and lost the prices at checkout after going to 2.0.4.
Title: Re: Updated.. now no prices show in checkout..
Post by: sremac on April 22, 2012, 14:08:23 PM
I don't have that directory :o
Title: Re: Updated.. now no prices show in checkout..
Post by: jenkinhill on April 22, 2012, 16:09:45 PM
@sremac check the files in joomla_root/components/com_virtuemart/views/cart/tmpl/ and confirm that you are using the versions from the VM2.0.6 fileset. (Unpack the 2.0.6 component locally to see the new versions).
Title: Re: Updated.. now no prices show in checkout..
Post by: sremac on April 23, 2012, 13:51:13 PM
Yes, it is new version, 2.06, i check every file in tmpl, it is everything the same.  :(
Title: Re: Updated.. now no prices show in checkout..
Post by: Harry80 on April 23, 2012, 18:44:20 PM
Same problem here!!! VirtueMart 2.0.6 on Joomla! 1.5.26.

I use a custom template but I don't have virtuemart override in the html folder. Switching on a default template have the same problem. I don't know what to do to solve the problem, It seems is a DB related problem, some old function recorded. It seems that the virtuemart tpls are updated correctly to 2.0.6.
Title: Re: Updated.. now no prices show in checkout..
Post by: tha1977 on April 23, 2012, 18:58:16 PM
My problem started when i updated from 2.0.2 to 2.0.4 and remains after updating to 2.0.6 (Joomla 2.5.4). I follow all jenkinhill's instructions but with no success. I believe that this is a major virtuemart issue, even if it's not stated by many users in the forum.
Title: Re: Updated.. now no prices show in checkout..
Post by: sremac on April 23, 2012, 22:17:43 PM
it is major problem! I suggest everyone to NOT update VM on 2.06! >:( >:( >:(
Title: Re: Updated.. now no prices show in checkout..
Post by: jenkinhill on April 23, 2012, 23:36:49 PM
This solution was posted in another thread: http://forum.virtuemart.net/index.php?topic=101335.msg337410#msg337410
Title: Re: Updated.. now no prices show in checkout..
Post by: tha1977 on April 24, 2012, 00:04:49 AM
I read the solution mentioned in the thread you stated above.
Then i went to component path: "configuration / pricing / show following prices". I noticed that no changes were made to my selected options since virtuemart 2.0.2 (when product prices were shown in shopping cact). I be more specific, i attach 2 images with my options and the result. If there is a specific option i must select to have the prices back, please tell me.

[attachment cleanup by admin]
Title: Re: Updated.. now no prices show in checkout..
Post by: Harry80 on April 24, 2012, 08:58:37 AM
Quote from: jenkinhill on April 23, 2012, 23:36:49 PM
This solution was posted in another thread: http://forum.virtuemart.net/index.php?topic=101335.msg337410#msg337410
For me the solution is quite OK, in fact prices appears but not for the first product addeded to the cart, OK for the second, for the third and so on, AND np price appear for the "Product prices result" line, why? Any solution?
Title: Re: Updated.. now no prices show in checkout..
Post by: sremac on April 24, 2012, 09:07:00 AM
@jenkinhill problem solved. But when first product add to cart, there is no price in module cart. When I click refresh, he appears
Title: Re: Updated.. now no prices show in checkout..
Post by: Harry80 on April 24, 2012, 09:56:47 AM
Quote from: sremac on April 24, 2012, 09:07:00 AM
@jenkinhill problem solved. But when first product add to cart, there is no price in module cart. When I click refresh, he appears
Yes, me too!
Title: Re: Updated.. now no prices show in checkout..
Post by: jenkinhill on April 24, 2012, 10:55:31 AM
That is a different issue - with the AJAX cart updater. Make sure that scripts are turned on in "Activate Css Styles & Javascripts" in VM Config/Templates and "Display modal popup upon 'Add to cart' " is turned on in VM Config/Checkout
Title: Re: Updated.. now no prices show in checkout..
Post by: sremac on April 24, 2012, 12:00:56 PM
In my settings are everything OK. But error is still there

(http://i.imgur.com/ydXUa.png)
Title: Re: Updated.. now no prices show in checkout..
Post by: Harry80 on April 24, 2012, 15:43:57 PM
jenkinhill, for me the solution of the price is quite OK, in fact prices appears in checkout, but not for the first product addeded to the cart (always checkout), OK for the second, for the third and so on, AND no price appear for the "Product prices result" line (always checkout), why? Any solution?
Title: Re: Updated.. now no prices show in checkout..
Post by: Snake 60 on April 25, 2012, 12:07:37 PM
Quote from: tha1977 on April 24, 2012, 00:04:49 AM
I read the solution mentioned in the thread you stated above.
Then i went to component path: "configuration / pricing / show following prices". I noticed that no changes were made to my selected options since virtuemart 2.0.2 (when product prices were shown in shopping cact). I be more specific, i attach 2 images with my options and the result. If there is a specific option i must select to have the prices back, please tell me.
See picture in attach...
Or just open file: your_site\components\com_virtuemart\views\cart\tmpl\default_pricelist.php find code
<?php
//  vmdebug('$this->cart->pricesUnformatted[$pkey]',$this->cart->pricesUnformatted[$pkey]['priceBeforeTax']);
echo $this->currencyDisplay->createPriceDiv('basePrice',''$this->cart->pricesUnformatted[$pkey],false);
//  echo $prow->salesPrice ;
?>
and replace basePrice by priceWithoutTax

[attachment cleanup by admin]
Title: Re: Updated.. now no prices show in checkout..
Post by: tha1977 on April 25, 2012, 13:11:57 PM
Thank you so much Snake 60 for the solution. I enabled Baseprice in Configuration / Pricing and now all prices appear in shopping cart.  :)
Title: Re: Updated.. now no prices show in checkout..
Post by: Harry80 on April 25, 2012, 17:15:19 PM
I still have problems. No prices in the first product in checkout.

[attachment cleanup by admin]
Title: Re: Updated.. now no prices show in checkout..
Post by: Harry80 on April 26, 2012, 15:31:11 PM
Please, someone can help me?
Title: Re: Updated.. now no prices show in checkout..
Post by: elleclouds on April 26, 2012, 15:56:07 PM
Quote from: Harry80 on April 26, 2012, 15:31:11 PM
Please, someone can help me?

I went back to my template designer and got an update for this issue.  I tried to do my own workarounds to no avail.
Title: Re: Updated.. now no prices show in checkout..
Post by: Harry80 on April 26, 2012, 19:51:13 PM
Found a solution on my CSS templates!
Title: Re: Updated.. now no prices show in checkout..
Post by: anupam_sam on April 27, 2012, 23:24:15 PM
i got the same issue in Joomla v2.5.4 VM 2.0.4

plz read my solution to this issue here
http://forum.virtuemart.net/index.php?topic=101939.msg338291#msg338291 (http://forum.virtuemart.net/index.php?topic=101939.msg338291#msg338291)
Title: Re: Updated.. now no prices show in checkout..
Post by: anupam_sam on April 28, 2012, 05:24:08 AM
Quote from: anupam_sam on April 27, 2012, 23:24:15 PM
i got the same issue in Joomla v2.5.4 VM 2.0.4

plz read my solution to this issue here
http://forum.virtuemart.net/index.php?topic=101939.msg338291#msg338291 (http://forum.virtuemart.net/index.php?topic=101939.msg338291#msg338291)

i Guess this solution is required uptill VM  v2.0.4.
Now i upgraded to VM v2.0.6 & removed the override and it is showing the prices and subtotals.
Title: Re: Updated.. now no prices show in checkout..
Post by: cas on May 01, 2012, 00:49:52 AM
I just upgraded from 2.0.1.k to 2.0.6 and now the cart prices don't show!  I have no overrides.  The only way to get the cart prices to show is to turn on more prices in the admin Show Following Prices: The "Baseprice" to show the price in cart line item row, and the "Final salesprice" to show the totals in the cart.  Unfortunately, with these two items turned on in the admin, now the product detail page shows 2 prices.  How do I get the prices to show in the cart and only have one price show on the product detail page? 
Title: Re: Updated.. now no prices show in checkout..
Post by: woood77 on May 02, 2012, 00:41:16 AM
I have the exact same problem and question as cas.  Any help would be appreciated.
Title: Re: Updated.. now no prices show in checkout..
Post by: cas on May 03, 2012, 01:45:30 AM
Any help?
Title: Re: Updated.. now no prices show in checkout..
Post by: Milbo on May 03, 2012, 13:12:11 PM
We wrote here exactly how you must adjust your overwrites so that it works with the new version
http://virtuemart.net/news/list-all-news/416

You can also access this site using the ARS in your virtuemart installation. Just use /administrator/index.php?option=com_virtuemart&view=liveupdate to see this text.
Title: Re: Updated.. now no prices show in checkout..
Post by: cas on May 04, 2012, 03:12:01 AM
Milbo,

I do not have any template overrides.  I got the cart prices to show by turning on 2 prices in the admin "Show Following Prices": The "Baseprice" to show the price in cart line item row, and the "Final salesprice" to show the totals in the cart.  But now the product detail page shows 2 prices.  This is the problem.  How do I get the prices to show in the cart and only have 1 price show on the product detail page?
Title: Re: Updated.. now no prices show in checkout..
Post by: woood77 on May 07, 2012, 17:04:01 PM
Still having same problem as Cas.  I'm also not using any template overrides. 
Title: Re: Updated.. now no prices show in checkout..
Post by: cas on May 09, 2012, 03:37:46 AM
Help us please!   How do we get just 1 price on the product details page and all the prices to show in the cart?  We have no template overrides.   
Title: Re: Updated.. now no prices show in checkout..
Post by: Milbo on May 09, 2012, 09:57:46 AM
Quote from: cas on May 04, 2012, 03:12:01 AM
I got the cart prices to show by turning on 2 prices in the admin "Show Following Prices": The "Baseprice" to show the price in cart line item row, and the "Final salesprice" to show the totals in the cart.  But now the product detail page shows 2 prices. 

just an if(!empty(blub)){ show finalprice} else { show overwrite price}

I just need an example, in which it does not work. please give me your skype contact, then I take a look.
Title: Re: Updated.. now no prices show in checkout..
Post by: cas on May 10, 2012, 08:17:13 AM
Hi Milbo,

I discovered something interesting...  When I am logged in as the Super-User, it shows 2 prices on the product details page, but when I am not logged in or logged in as a Registered user, then it correctly only shows 1 price on the product detail page.  Try it for yourself...  just check on Baseprice and Final salesprice.

Chuck
Title: Re: Updated.. now no prices show in checkout..
Post by: cas on May 15, 2012, 19:31:22 PM
Hi Milbo,

Did you try it when logged in as the super user?

Chuck
Title: Re: Updated.. now no prices show in checkout..
Post by: arthur_king88 on July 19, 2012, 11:36:04 AM
any one fix this?? i got the same problem
Title: Re: Updated.. now no prices show in checkout..
Post by: jenkinhill on July 19, 2012, 16:00:21 PM
Quote from: arthur_king88 on July 19, 2012, 11:36:04 AM
i got the same problem

Which of the problems described in this thread? Most price display were related to using outdated template overrides which were not updated to work with later/current versions.
Title: Re: Updated.. now no prices show in checkout..
Post by: arthur_king88 on July 20, 2012, 05:36:38 AM
Thank You for your response. im using the Joomla 1,7 and update from 2.04 to 2.08e. There is part of change that i dont really undestand such as..
Old:

    <span class="comment"></span>
     

replaced by:

    <span class="comment"></span>

Whats the different anyway?
     
Title: Re: Updated.. now no prices show in checkout..
Post by: CarlosC on July 20, 2012, 16:04:26 PM
Hallo together,

I have updated yesterday from 2.0.8c to 2.0.8e. My Joomla is 2.5.6. The way-> uninstall 2.0.8c. New install 2.0.8e with the zip and the joomlainstaller.
Now the problem, the cart module und the module virtuemart product shows the wrong prices. There are no html overrides in the template.
Is there a list with the files, changed from 2.0.8c to e?

Thanks Carlos
Title: Re: Updated.. now no prices show in checkout..
Post by: daddyke on July 30, 2012, 13:57:30 PM
My problem is very same: prices dont show in cart.

Joomla 2.5.4 + VM 2.0.4 was the basic versions.
I've updated to VM 2.0.8e. The same problem. No prices.

I have no template overrides, basically I want to use rt-quasar template, but none of the default joomla templates can't show the prices.

I've done nothing specially, template-dependent deep code hack or whatever. I just want to get a (somehow) functionally webshop.

The previous 4 pages was useless.

Help please.