View Single Post
  #2  
Old 08-08-2010, 08:17 AM
 
Sisom Sisom is offline
 

eXpert
  
Join Date: Sep 2006
Posts: 310
 

Default Re: product_prices.tpl for wholesale prices - won't edit

I've also tried the following:
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>

This makes the browser display two rows of the bottom row, i.e. it now displays:
10+ Items ё49.99
10+ Items ё49.99

So obviously it must be getting the table row (not the table header) from somewhere else.

I even tried inserting the following:
Code:
<tr class="head-row"> <th>{$lng.lbl_quantity}</th> <th>{$lng.lbl_price}{if $smarty.capture.taxdata}*{/if}</th> </tr> <tr><td>TEST</td></tr>

But it wouldn't display the 'TEST', it just didn't exist in the HTML source.
__________________
X-Cart Gold Version 4.3.2
Reply With Quote