Jump to content

Get price with quantity discount in tpl file


Robain

Recommended Posts

Hi everyone,

I'm trying to edit the "home featured" module so that it display the cheapest possible price for a product (including quantity discount) instead of the normal base price.

I've found that the getPrice() function of the Product class offers an option to get the price for a certain quantity. However, I want to be able to do this in the TPL file (to preserve upgradeability).
Any ideas on how to do this in smarty??

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...