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)
-   -   how to delete this (with pic) (https://forum.x-cart.com/showthread.php?t=36126)

carpeperdiem 12-16-2007 05:26 PM

Re: how to delete this (with pic)
 
What is the product id for this product?

REMOVING the quantity box will be as I described... I would be happy to send you the code.

aquaimaging 12-16-2007 05:36 PM

Re: how to delete this (with pic)
 
help pls.. anyone?

aquaimaging 12-16-2007 11:05 PM

Re: how to delete this (with pic)
 
help

aquaimaging 12-17-2007 03:47 PM

Re: how to delete this (with pic)
 
now i removed the quantity box in product details, the problem is i have many products. how im gonna code this? pls teach me how.. I need my website soon..thanks

aquaimaging 12-17-2007 03:55 PM

Re: how to delete this (with pic)
 
Quote:

{* BEGIN change qty to 1 for product 29 or 30 *}
{if $product.productid eq '1' or $product.productid eq '2'}
<input type="hidden" name="amount" value="1">
{else}
{* END change qty to 1 for product 29 or 30 *}

<select id="product_avail" name="amount"{if $active_modules.Product_Options ne '' && $product_options ne ''} onchange="check_wholesale(this.value);"{/if}>
{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>
{/if}{* added for change qty to 1 for product 1 or 2 *}


it is possible to concat product id? because i have few products.. any help pls

carpeperdiem 12-17-2007 04:17 PM

Re: how to delete this (with pic)
 
You're on your way... yes, smarty will let you define a range of numbers...

http://smarty.php.net/manual/en/language.function.if.php

aquaimaging 12-17-2007 04:23 PM

Re: how to delete this (with pic)
 
oh i cannot get it.. maybe you can show me the codes, im really confuse on if else statement of smarty..

carpeperdiem 12-17-2007 04:27 PM

Re: how to delete this (with pic)
 
what are the range of product ids that you want included?

aquaimaging 12-17-2007 04:29 PM

Re: how to delete this (with pic)
 
i have 19 categories and there are 1 to 2 products every categories

carpeperdiem 12-17-2007 04:46 PM

Re: how to delete this (with pic)
 
aqua,

you didn't answer my question.

Quote:

what are the range of product ids that you want included?

LIST THEM, please.


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

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