VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: panterdesign on January 04, 2012, 02:39:39 AM

Title: Remove text in product display
Post by: panterdesign on January 04, 2012, 02:39:39 AM
Hey,

My product view page displays this :

Sales price: 3,99 €

No i want to display this :

€3,99

So my questions are.
how can i delete the text :
Sales price

and how can i move the Euro sign infront of the price

Thx,
Dennis

Joomla : 1.5.25
Virtuemart : 2.0.0
Title: Re: Remove text in product display
Post by: tobisagt on January 04, 2012, 15:17:02 PM
To delete the text "price" remove

line 141: echo "<strong>" . JText::_ ( 'COM_VIRTUEMART_CART_PRICE' ) . "</strong>";

in "default.php" in the templatefolder "productdetails".



To change the price like this: €3,99 go into your Backend -> Configuration -> Currencies -> Your Currency (Euro)

What you need is: "Positive Format". It should looks like this: {symbol} {number}

-Tobi