View Single Post
  #3  
Old 02-24-2012, 08:30 AM
 
rct rct is offline
 

Advanced Member
  
Join Date: Dec 2004
Posts: 89
 

Default Re: Wholesale Pricing table problem

Thanks,



<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|trim}*{/if}</th>
</tr>

{*add one pcs line*}
<tr> <td>{$lng.lbl_singlepcs} <-- my lable for lbl_singlepcs = 1-11 items ( this is permanent, hence I use a label instead)
{include file="currency.tpl" value=$product.taxed_price}</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}
&nbsp;
{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>
</tr>
{/foreach}

</table>


It showed for a bit, after I clean it up with cleanup.php, it disappear. Do i have to edit the func.js as well? If so, can you guide me?

Thanks
__________________
JOHN - v.5.3.X biz, X-payment 3.X
Reply With Quote