VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: pongop on July 20, 2015, 17:54:03 PM

Title: pricing - sales price with line through
Post by: pongop on July 20, 2015, 17:54:03 PM
I am trying to put in a Final SalesPrice  showing in the cart as well as also showing in the product page itself however the price in the product area for this is greyed out and has a line through it.
BasePrice seems to be the only price that works in the product page (bold and larger font in black) and isn't with a line through but is no use to just run this.

My prices are set with no tax and none required as its UK and already includes VAT on each product - if this affects anything?

Not sure if its a JSN template thing or a VM thing nor whether its a configuration in VM or css but if anyone could assist and also let me have coding required and where to put it that would be great as I have spent far too long trying to solve it!

VM - 3.0.9
Joomla - 3.4.1
php - 5.5.26
using JSN template with VM
Title: Re: pricing - sales price with line through
Post by: jenkinhill on July 20, 2015, 18:01:19 PM
Does your JSN template use overrides? If you don't know then post the url so someone can see, but it sounds like the prices sublayout may need editing..
Title: Re: pricing - sales price with line through
Post by: pongop on July 20, 2015, 18:13:34 PM
Hi

not too sure - website is still being built but accessible - http://www.dennecyvelo.co.uk/index.php 
Title: Re: pricing - sales price with line through
Post by: jenkinhill on July 20, 2015, 19:54:59 PM
Yes that uses template overrides and it looks like the prices.php sublayout is incorrectly coded (I had to check on the JSN template demo to check this). This could be a VM version incompatibility, though.

You could try switching the default components/com_virtuemart/sublayouts/prices.php for the sublayout file in the template's html com_virtuemart directory to see if that works OK, or compare the codes,  but if you don't understand the code then you should contact support at the template provider.  See http://forum.virtuemart.net/index.php?topic=108212.0
Title: Re: pricing - sales price with line through
Post by: pongop on July 20, 2015, 20:50:11 PM
thx - will take a look then if no joy go to Joomlashine - thanks for the help
Title: Re: pricing - sales price with line through
Post by: pongop on July 21, 2015, 11:00:10 AM
all solved - a JSN template thing - updated the custom.css and it works - thanks for the help