
08-08-2010, 10:35 AM
|
|
|
|
 eXpert
|
|
Join Date: Sep 2006
Posts: 310
|
|
|
Re: product_prices.tpl for wholesale prices - won't edit
I tried that Tal, but no luck. I have just edited customer/main/send_to_friend.tpl and it worked fine, so I can't understand why product_prices.tpl isn't doing what I tell it to!
I have just tried reducing it down to:
Code:
{*
$Id: product_prices.tpl,v 1.23.2.1 2010/02/25 11:15:18 aim Exp $
vim: set ts=2 sw=2 sts=2 et:
*}
<div id="wl-prices"{if !$product_wholesale} style="display: none;"{/if}>
{if $product.taxes}
{capture name=taxdata}
{include file="customer/main/taxed_price.tpl" taxes=$product.taxes display_info="N"}
{/capture}
{/if}
<table cellspacing="1" summary="{$lng.lbl_wholesale_prices|escape}">
<tr class="head-row">
<th>{$lng.lbl_quantity}</th>
<th>{$lng.lbl_price}{if $smarty.capture.taxdata}*{/if}</th>
</tr>
</table>
<div{if !$smarty.capture.taxdata} style="display: none;"{/if}>
<strong>*{$lng.txt_note}:</strong>{$smarty.capture.taxdata}
</div>
</div>
and yet it still displays the table row, meaning nothing that I deleted could have been displaying it. I just don't get it.
Also, the wholesale prices header has never appeared, I presume it should be at the head of the table, due to:
Code:
<table cellspacing="1" summary="{$lng.lbl_wholesale_prices|escape}">
__________________
X-Cart Gold Version 4.3.2
|
|