thrillmetoo Posted April 28, 2016 Share Posted April 28, 2016 (edited) I need to display different prices calculated from the final price on the product page. Is it possible to do this on the product.tpl? I want to add some information on the product detail page like this: package a: 10% discount - your price ...€ package b: 15% discount - your price ...€ These prices that are shown should be calculated so the customer sees the correct price immediately. Edited April 28, 2016 by thrillmetoo (see edit history) Link to comment Share on other sites More sharing options...
shokinro Posted April 28, 2016 Share Posted April 28, 2016 Yes, I think you should be able to do that. You can try something like this {l s='package a: 10% discount - your price '} {displayPrice price=$product->price * 0.1} {l s='package a: 15% discount - your price '} {displayPrice price=$product->price * 0.15} Link to comment Share on other sites More sharing options...
thrillmetoo Posted April 30, 2016 Author Share Posted April 30, 2016 Thanks Shokinro. My coding skills are limited, but this puts me on the right track. Link to comment Share on other sites More sharing options...
shokinro Posted April 30, 2016 Share Posted April 30, 2016 my pleasure, hope this helps 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