Jump to content

Price calculation result displayed on product page


thrillmetoo

Recommended Posts

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 by thrillmetoo (see edit history)
Link to comment
Share on other sites

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...