View Single Post
  #1  
Old 10-31-2007, 09:35 AM
 
TL408 TL408 is offline
 

X-Adept
  
Join Date: Jan 2005
Posts: 549
 

Default "Quantity" box is removed. Now, how to remove space gap on "Feature Products" page?

Hi guys,

Can you please point me to the right direction? I followed the instruction below to remove the "Quantity" box on my "Featured Products" page. That was in the "skin1\customer\main\buy_now.tpl" template file. Now, there is a large space gap where the "Quanity" box used to be. How do I remove this?

http://img464.imageshack.us/img464/150/quantitybox002kn4zz5.jpg


-------------------------------------------------------------------------------
To remove "Quantity" box you should in the "skin1/customer/main/buy_now.tpl" find string

<select name="amount">
{section name=quantity loop=$mq start=$start_quantity}
<option value="{%quantity.index%}"{if $smarty.get.quantity eq %quantity.index%}
selected="selected"{/if}>{%quantity.index%}</option>
{/section}
</select>


and change them to

<input name="amount" value="1" size="1" type="hidden">

Then find string

td class="BuyNowQuantity">{$lng.lbl_quantity}</td>

and delete it.
-------------------------------------------------------------------------------
__________________
Win2003 IIS6, PHP 5.2.3, MySQL 5.0.45 and X-Cart 4.1.9
Reply With Quote