Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

wholesale price table display too wide

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #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
  #2  
Old 07-05-2005, 09:31 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

http://forum.x-cart.com/viewtopic.php?t=10762&highlight=wholesale
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #3  
Old 07-05-2005, 09:37 AM
 
pwd88 pwd88 is offline
 

Advanced Member
  
Join Date: Dec 2004
Posts: 80
 

Default

Thanks Shan, exactly what I am looking for, by the way, Did you receive the ebook you order on my site? if not let me know
__________________
XCart 4.0.18 Gold
X-Giftregistry
Neon light
Fashion mosaic
Tabbed product menu
Reply With Quote
  #4  
Old 07-05-2005, 09:41 AM
 
pwd88 pwd88 is offline
 

Advanced Member
  
Join Date: Dec 2004
Posts: 80
 

Default

Sorry I said too early, This is not what I exactly looking for, Currently it display in 2 row horizontally, I would like it to be displayed into multiple row horizontally, not like the one you mention display everything vertically
__________________
XCart 4.0.18 Gold
X-Giftregistry
Neon light
Fashion mosaic
Tabbed product menu
Reply With Quote
  #5  
Old 07-31-2006, 05:48 PM
  CobaltCat's Avatar 
CobaltCat CobaltCat is offline
 

Senior Member
  
Join Date: Jul 2003
Location: Southern Orygun
Posts: 153
 

Default

pwd88 - did you ever get this to work? I have the same problem and would like to display the wholesale prices in a verticle table.

v4.0.18
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:18 AM.

   

 
X-Cart forums © 2001-2020