Jolkro Posted October 26, 2011 Share Posted October 26, 2011 Hi all. I have a quick question regarding how quantity discount is calculated in 1.4 I think my solution lies in this code in product.tpl (but I could be wrong): <tr> {foreach from=$quantity_discounts item='quantity_discount' name='quantity_discounts'} <td> {if $quantity_discount.price != 0 OR $quantity_discount.reduction_type == 'amount'} -{convertPrice price=$quantity_discount.real_value|floatval} {else} -{$quantity_discount.real_value|floatval}% {/if} </td> {/foreach} </tr> I would like it to show the total price of (lets say 3 products) with the discount, instead of just showing what you save for each product. Can this be done relatively simple by just adding another equation or am I way off? I would appreciate all the hints you could give me. Thank you all Link to comment Share on other sites More sharing options...
Berlindoor Posted March 12, 2012 Share Posted March 12, 2012 did you find a solution for this?? It's easier for the buyer to understand if it is written in this way: PRODUCT PRICE FOR 1 BOX: 12,50€ 3 Boxes - 12€ - You save 0,50€ (4%) 4 Boxes - 11,25 - You save 1,25€ (10%) 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