VirtueMart Forum

VirtueMart 2 + 3 => Templating & Layouts => Topic started by: saypol on November 26, 2012, 20:15:29 pm

Title: Price Show in Catalogue mode
Post by: saypol on November 26, 2012, 20:15:29 pm
Hi,
I use joomla 2.5.8 and VM 2.0.14 and I checked the "Use only as catalogue " in configuration section but it still show the "Price" in product detail page. :-[
Have any idea to remove the "Price:" ?
Title: Re: Price Show in Catalogue mode
Post by: bytelord on November 26, 2012, 22:09:46 pm
Hello,

You could use some CSS to hide that text

.productdetails-view .product-price strong {
display:none;
}

btw, is not a price field, is just a label...

Regards
Title: Re: Price Show in Catalogue mode
Post by: androclo on December 02, 2012, 16:17:27 pm
I have the same problem, but i did not understand what to change and where?
you can explain to me in detail, thanks

sorry my english is translated with google
Title: Re: Price Show in Catalogue mode
Post by: bytelord on December 02, 2012, 17:36:59 pm
Hello,

You have to create a CSS override for the main css for vm under your template and place that attribute. This means that you have for example load in your template header a new css file, called for example virtuemart.css and there is where you will place all your styling overrides (CSS overrides) (http://forum.virtuemart.net/index.php?topic=90968.0)

If case you are not familiar at all please provide a live url.

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

Overrides:
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: Price Show in Catalogue mode
Post by: androclo on December 03, 2012, 07:11:11 am
I tried the css vmsite-ltr.css, and found in this directory
/ components / com_virtuemart / assets / css /

so I opened the file vmsite-ltr.css

then I tried this in the css
. product-price {margin: 0 0 15px;}

and modified in this way
. product-price {margin: 0 0 15px; visibility: hidden;}

I hope I can be of help to others

sorry my english is translated with google
Title: Re: Price Show in Catalogue mode
Post by: bytelord on December 03, 2012, 07:29:10 am
Hello,

It is always better to create an override for those changes, cause next time you update vm2 you will loose those changes.

Regards
Title: Re: Price Show in Catalogue mode
Post by: androclo on December 03, 2012, 20:43:04 pm
for this reason i put a post in the forum, so i find it immediately  ;D

thanks for the help Bytelord

sorry my English is translated with google