Jump to content

Show lowest price with quantity discount in product.tpl and product-list.tpl


jimlarsson

Recommended Posts

Hi all,

 

In product.tpl AND product-list.tpl, I need to change:

 

- the original product price

 

for:

 

- the lowest of the prices with quantity discount (when applicable).

 

 

I've been playing with this code…

 

{if $product.quantity_discounts}

 

{if $quantity_discount.price != 0 OR $quantity_discount.reduction_type == 'amount'}<p class="price_container"><span class="price">{if !$priceDisplay}{convertPrice price=$productPrice-$quantity_discount.real_value|floatval}

 

{/if}

 

{/if}

 

… but I'm not a programmer and I don't know what I am actually doing, so it didn't work.

 

I think it would be useful for many other people to find an easy solution.

 

ANY IDEAS? THANKS!!!

Link to comment
Share on other sites

  • 6 months later...

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