X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   wholesale price table display too wide (https://forum.x-cart.com/showthread.php?t=14996)

pwd88 07-05-2005 09:08 AM

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}


shan 07-05-2005 09:31 AM

http://forum.x-cart.com/viewtopic.php?t=10762&highlight=wholesale

pwd88 07-05-2005 09:37 AM

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

pwd88 07-05-2005 09:41 AM

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

CobaltCat 07-31-2006 05:48 PM

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


All times are GMT -8. The time now is 09:37 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.