spidermax Posted September 26, 2011 Share Posted September 26, 2011 when you put a bulk discount on it give 15% off 20% off etc but i would like to be able to show customers what the saving is. say the product is £10 and its 10% off if you buy 5 or more i would like "£9 each if you buy 5 or more" i have been editing the product.tpl and found that "{$quantity_discount.quantity|intval}" is the qty of the discounts "{$quantity_discount.real_value|floatval}" is the % Off you get and "{convertPrice price=$productPrice}" is the products price but i have been wraping my brain to work out how to make it show me the saving in £ any one have any idears. Regards Max Link to comment Share on other sites More sharing options...
spidermax Posted September 26, 2011 Author Share Posted September 26, 2011 for any one else intrested i got it to work with {convertPrice price=($productPrice)-(($productPrice / 100) * ($quantity_discount.real_value|floatval))} Link to comment Share on other sites More sharing options...
transient999 Posted September 30, 2011 Share Posted September 30, 2011 where is product.tpl at? 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