View Single Post
  #1  
Old 02-22-2012, 08:47 PM
 
rct rct is offline
 

Advanced Member
  
Join Date: Dec 2004
Posts: 89
 

Default Wholesale Pricing table problem

Calling all experts : How to show in "1-XX items" in the wholesale pricing table?

Quantity Price
1-11 items $5.00 <-- how to show this row ?
12-35 items $4.50 (xcart automatically generate this
36+ items $4.00 and this)

I understand that the code should be editing in product_prices.tpl, however, I am not quite sure where. I have tried to put

{$lng.lbl_singlepce} ( i have added this label just to show 1-11 items) before
{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>

But it wont work. Anyone can give me some ideas? Thanks in advance.
__________________
JOHN - v.5.3.X biz, X-payment 3.X
Reply With Quote