View Single Post
  #1  
Old 07-05-2005, 09:08 AM
 
pwd88 pwd88 is offline
 

Advanced Member
  
Join Date: Dec 2004
Posts: 80
 

Default wholesale price table display too wide

I am setting up one of my product has 30 different wholesale price for different quatities, as you may know the wholesale price will be displayed in 2 row, one is Quatity, one is price, no matter how many wholesale level I have, in my case I have 30 wholesale levels, I end up having a really wide table to dispaly the wholesale price, I would like to make it to be dispalyed on multiple rows so that the product page still can look pretty, just don't know how to divide it up, the following is the tpl file I am talking about
Code:
{* $Id: product_prices.tpl,v 1.9.2.1 2004/09/10 09:54:23 max Exp $ *} {if $product_wholesale ne ""} <TABLE border="0" cellpadding="2" cellspacing="2"> <TR class="TableHead"> {section name=wi loop=$product_wholesale} {if $smarty.section.wi.first}<TD align="right">{$lng.lbl_quantity}:</TD>{/if} <TD> {$product_wholesale[wi].quantity}{if $smarty.section.wi.last}+{else}-{$product_wholesale[wi].next_quantity}{/if}{if $product_wholesale[wi].quantity eq "1"}{$lng.lbl_item}{else}{$lng.lbl_items}{/if} </TD> {/section} </TR> <TR bgcolor="#EEEEEE"> {section name=wi loop=$product_wholesale} {if $smarty.section.wi.first}<TD align="right">{$lng.lbl_price}{if $product.taxes}*{assign var="display_tax_note" value="1"}{/if}:</TD>{/if} <TD><SPAN id="wp{%wi.index%}">{include file="currency.tpl" value=$product_wholesale[wi].taxed_price}</SPAN></TD> {/section} </TR> </TABLE> {if $display_tax_note} <TABLE border="0"> <TR> <TD class="FormButton" valign="top">*{$lng.txt_note}:[/b]</TD> <TD nowrap valign="top">{include file="customer/main/taxed_price.tpl" taxes=$product.taxes display_info="N"}</TD> </TR> </TABLE> {/if} {/if}
__________________
XCart 4.0.18 Gold
X-Giftregistry
Neon light
Fashion mosaic
Tabbed product menu
Reply With Quote