News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Product discount in %

Started by maks, December 27, 2011, 18:40:55 PM

Previous topic - Next topic

maks

How to show product discount in % ? Now it shows "Discount: 5€" ...how to show "Discount: 2%" ?
A strikethru baseprice would be nice to  ;) Just like old VM.

Milbo

The rules are afaik in the template,...
use vmdebug('my layout data',$this) on the top of the layout and then activate vmdebug.

Then you can see the rules information and display it
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

maks

In template view i see only discountAmount. Thats for discount: 5€. I need in %.
Im not so good in php so please some more help.

Venkko

#3
I have same problem and as Marks said

QuoteIn template view i see only discountAmount. Thats for discount: 5€. I need in %.
Im not so good in php so please some more help.

So could someone please give little extra help on this case?
www.pikkukoala.fi (J 1.5 & VM 1.1.5)
www.lastentavarat.fi (J 1.5.23 & V2.0.0)