Hi
In my product page, I would like to show the wholesale prices including tax and excluding tax.
I've edited
/common_files/customer/main/product_prices.tpl
Code:
<div id="wl-prices"{if not $product_wholesale} style="display: none;"{/if}>
{if $product.taxes}
{capture name=taxdata}
{include file="customer/main/taxed_price.tpl" taxes=$product.taxes display_info="Y"}
{/capture}
{/if}
<table cellspacing="1" summary="{$lng.lbl_wholesale_prices|escape}">
<tr class="head-row">
<th>{$lng.lbl_quantity}</th>
<th>{$lng.lbl_price} incl tax</th>
<th>{$lng.lbl_price} exc tax</th>
</tr>
{foreach from=$product_wholesale item=w name=wi}
<tr>
<td>
{strip}
{$w.quantity}{if $w.next_quantity eq 0}+{elseif $w.next_quantity ne $w.quantity}-{$w.next_quantity}{/if}
{if $w.quantity eq "1"}
{$lng.lbl_item}
{else}
{$lng.lbl_items}
{/if}
{/strip}
</td>
<td>{currency value=$w.taxed_price tag_id="wp`$smarty.foreach.wi.index`"}</td>
<td>{currency value=$w.price tag_id="wp`$smarty.foreach.wi.index`" }</td>
</tr>
{/foreach}
</table>
The price without taxes are not showing
Also I would like to start showing the price from the first item
in example
1 -- 2 : standard price
2 -- 5 : first wholesale price
Thanks