VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: flaterik on October 12, 2012, 01:40:20 AM

Title: Can't see price on the cart
Post by: flaterik on October 12, 2012, 01:40:20 AM
Hi people, on my cart i can't see no price

I delete the template override but i have also the same problem. I can see the total price, discount but not the simple price of the product

this is the site

http://www.nympheaestetica.com/shop/

Thanks
Title: Re: Can't see price on the cart
Post by: bytelord on October 12, 2012, 06:43:52 AM
Hello,

First Forgot to mention your vm and joomla version.
If you tried without template overrides then please check your configuration under Configuration-> Pricing, try to enable all options for Show Following Prices, first you haven't enable tax maybe. Also check the option show Show Tax in Cart from price configuration.

Last do you have tax rules? If yes, is the tax calculated and display only when you are login? If yes, then go to tax calculation rule and remove countries/shopper group (leave empty - unique tax for everyone).

Regards
Title: Re: Can't see price on the cart
Post by: flaterik on October 12, 2012, 09:36:21 AM
Hi, thanks for support.

I must enable pricevariant and empty the tax on group.
Thanks for support
Title: Re: Can't see price on the cart
Post by: bytelord on October 12, 2012, 14:24:48 PM
Hello,

Is your issue resolved with that?

Regards
Title: Re: Can't see price on the cart
Post by: flaterik on October 12, 2012, 14:52:56 PM
Yes, it solved my problem. The price is not baseprice but variantprice :(

Sorry another information,

How to fix a class for this price visualization?
Ther's the function CREATEDIV but i can't understand how to change for example Salesprices div.

It take always pricesalesprice class
Title: Re: Can't see price on the cart
Post by: bytelord on October 12, 2012, 15:48:55 PM
Hello,

Please take a look over here for using product details fields: https://forum.virtuemart.net/index.php?topic=92756.0

You could use firebug to examine you site code and css styling: https://forum.virtuemart.net/index.php?topic=102850.0

Creating Template overrides: https://forum.virtuemart.net/index.php?topic=98505.0

Template System: https://dev.virtuemart.net/projects/virtuemart/wiki/Hints_for_the_use_of_the_template_system

Regards
Title: Re: Can't see price on the cart
Post by: flaterik on October 12, 2012, 16:08:09 PM
Thank's , i use template override and all other method you say to me :)

I specify in details my problem here:

http://forum.virtuemart.net/index.php?topic=108683.0

resuming, i have the same class for salesprices in category and cart , i wanto that is different!

Title: Re: Can't see price on the cart
Post by: bytelord on October 12, 2012, 23:58:33 PM
Hello,

Why you don't override the CSS styling for pricesalesprice  ... that's my point!
Using template overrides not only override template files but also CSS files, please check again the the previous posts about template system and template overrides.

btw, you could use <?php echo $product->prices['salesPrice']; ?> to echo prices and them stylish them also, read here: http://forum.virtuemart.net/index.php?topic=104194.0
But the create div is already customized using css (color, text, etc).

What exactly you want to accomplish?

Regards
Title: Re: Can't see price on the cart
Post by: flaterik on October 13, 2012, 01:21:42 AM
I exactly know what you mean about div.

My problem is another.
I want to have different visualization for the same field in two different part of site.

So , with creatediv, i can't understand where the class is assigned to the prices and so i can't change this class in override.

But you say to me i can use also <?php echo $product->prices['salesPrice']; ?> so my problem is solved!

Thank you very much