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)
-   -   Remove Weight... (https://forum.x-cart.com/showthread.php?t=7241)

BHMedia 04-21-2004 07:09 AM

Remove Weight...
 
hey! I have a question for you guys..

We dont know the weight of the products since we drop ship is there any way possible to remove the "Weight" field? So it doesnt show Weight 1.0lb

Thanks!

B00MER 04-26-2004 01:48 AM

edit skin1/customer/main/product.tpl

Code:

{if $product.weight ne "0.00"}<tr><td width=30%>{$lng.lbl_weight}</td><td nowrap>{$product.weight} {$config.General.weight_symbol}</td></tr>{/if}

Remove this line or {* comment it out *}

;)

BHMedia 04-30-2004 04:58 AM

BOOMER HELP!
 
Hey ! - Can can I get rid of Quantity - ? I drop ship so there is no way for me to know much is in quantity -So i need to get rid of it I looked in the above file looks like alot to comment out - im sure you know of an easy way! Please Thanks!

BHMedia 04-30-2004 05:05 AM

I commented this out

Code:

{*
{if $config.Appearance.show_in_stock eq "Y" and $config.General.unlimited_products ne "Y" and $product.distribution eq ""}
<tr><td width=30%>{$lng.lbl_quantity}</td><td nowrap>{if $product.avail gt 0}{$product.avail}{else}{$lng.txt_no}{/if} {$lng.txt_items_available}</td></tr>
{/if} *}


And it doesnt appear - i think i phrased what i needed wrong - There are two quantity's one - y ou can select like 1-X(DEPENDING ON SETTING) quantity of items then there is something that says like "Quantity: 1000" Depending on what i imported it with... I commented that above out and it doesnt' show it any more but will that screw up anything else? Thanks..

shan 04-30-2004 09:12 AM

Re: BOOMER HELP!
 
Quote:

Originally Posted by BHMedia
Hey ! - Can can I get rid of Quantity - ? I drop ship so there is no way for me to know much is in quantity -So i need to get rid of it I looked in the above file looks like alot to comment out - im sure you know of an easy way! Please Thanks!


open buy_now.tpl

look for

Code:

<select name=amount>
{if $product.min_amount le 1}
{assign var="start_quantity" value=1}
{else}
{assign var="start_quantity" value=$product.min_amount}
{/if}
{section name=quantity loop=$mq start=$start_quantity}
<option value="{%quantity.index%}" {if $smarty.get.quantity eq %quantity.index%}selected{/if}>{%quantity.index%}</option>
{/section}
</select>


replace with

Quote:

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


All times are GMT -8. The time now is 01:46 AM.

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