gumibear Posted April 12, 2011 Share Posted April 12, 2011 Like in subject... I want to change displayed percentage reduction of price to an amount of a price reduction on the product page (below old price).Any ideas? Suggestions?I'll be obliged. Link to comment Share on other sites More sharing options...
Lindsayanng Posted April 12, 2011 Share Posted April 12, 2011 Just paste that into your product info page and that should work.. (-{$specific_prices.reduction * 100|floatval}%) If you are using the default template I can probably show you exactly where you need to put it Link to comment Share on other sites More sharing options...
gumibear Posted April 13, 2011 Author Share Posted April 13, 2011 I'm using presta version 1.3.7.0 with default tempate. And this code dosn't work. Mayby because i don't see $specific_prices.reduction syntax in code above? Link to comment Share on other sites More sharing options...
Lindsayanng Posted April 13, 2011 Share Posted April 13, 2011 "it doesn't work" doesnt tell me much - what happens when you stick it in there?? Where are you trying to put it in there? I pulled that code directly from the default template, but I havent tested it.. Link to comment Share on other sites More sharing options...
gumibear Posted April 13, 2011 Author Share Posted April 13, 2011 Take a look yourself here.This code display (-zl) only... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now