VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: psm on October 02, 2017, 20:17:38 PM

Title: how to get prices before discount strikethrough
Post by: psm on October 02, 2017, 20:17:38 PM
Virtuemart 3.2.0
PHP 5.4.46
Joomla 3.6.5

Dear all,
I would like to set up my prices show as I show down:
price before discount
price with discount
I follow manual in this video:
https://www.youtube.com/watch?v=66mQidoMvAY
I check also setting according to another video and I have already this command in my code.
https://www.youtube.com/watch?v=1QpiWzoHZ7o&t=13s
But after everything was done I can see just:
price with discount
value of discount
Please could you help me what can be problem?

Thanks
Title: Re: how to get prices before discount strikethrough
Post by: jenkinhill on October 02, 2017, 23:06:23 PM
Are you using the default VirtueMart templates or a commercial template with overrides?
Title: Re: how to get prices before discount strikethrough
Post by: GJC Web Design on October 03, 2017, 23:47:12 PM
I think this depends on whether u have a tax set... from memory shops without tax I always have to alter the sublayout prices.php to get the linethru price

test with a vat set and see if the linethru original price shows up
Title: Re: how to get prices before discount strikethrough
Post by: jenkinhill on October 03, 2017, 23:52:06 PM
This is what I used to do with VM2 - maybe still applies?  http://forum.virtuemart.net/index.php?topic=121993.msg416383#msg416383
Title: Re: how to get prices before discount strikethrough
Post by: GJC Web Design on October 04, 2017, 21:03:16 PM
Why didn't you tell me this in 2014?   :P  ;)
Title: Re: how to get prices before discount strikethrough
Post by: jenkinhill on October 04, 2017, 23:35:25 PM
Quote from: GJC Web Design on October 04, 2017, 21:03:16 PM
Why didn't you tell me this in 2014?   :P  ;)

There is a search facility here.....
Title: Re: how to get prices before discount strikethrough
Post by: psm on October 05, 2017, 19:31:45 PM
Thank you very much for advices. I used it and set up VAT 0% for every product. Now it is working perfectly.
Title: Re: how to get prices before discount strikethrough
Post by: GJC Web Design on October 06, 2017, 17:23:39 PM
QuoteThere is a search facility here.....

hmmm .. we all know how good that is.. even using Google..  ;)