Jump to content

Show discounted price in product.tpl


Recommended Posts

In Product.tpl I've created three checkboxes to buy multiple items, here is the example with 3 bottles:

<tr>
<td class="pname">
            <input type="radio" onclick="qtyChange('{$product->id}','3','{$product->reference|escape:'htmlall':'UTF-8'}','{$productPrice*3} €', '{$productPrice*3}', '3 bottiglie');" value="{$product->id}" id="pacco_prodotto_3" name="pacco_prodotto">
            <label for="pacco_prodotto_3" class="productpack">3 bottiglie </label></td>
        <td class="pprice"><label for="pacco_prodotto_3" class="currentprice">{$productPrice*3} €</label></td>
        
</tr> 

Next I've setup a discount on quantity, so if you buy 3 or more bottles you have a discount.

 

I need to show the discounted price and not the base price.

 

I've found something similar but them are all related ro cycle all the discounts, and is not what I want

 

Thank you very much

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