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

how to delete this (with pic)

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 12-16-2007, 05:26 PM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default 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.
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
  #12  
Old 12-16-2007, 05:36 PM
 
aquaimaging aquaimaging is offline
 

Member
  
Join Date: Dec 2007
Posts: 29
 

Default Re: how to delete this (with pic)

help pls.. anyone?
__________________
Version 4.1.9
Reply With Quote
  #13  
Old 12-16-2007, 11:05 PM
 
aquaimaging aquaimaging is offline
 

Member
  
Join Date: Dec 2007
Posts: 29
 

Default Re: how to delete this (with pic)

help
__________________
Version 4.1.9
Reply With Quote
  #14  
Old 12-17-2007, 03:47 PM
 
aquaimaging aquaimaging is offline
 

Member
  
Join Date: Dec 2007
Posts: 29
 

Default 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
__________________
Version 4.1.9
Reply With Quote
  #15  
Old 12-17-2007, 03:55 PM
 
aquaimaging aquaimaging is offline
 

Member
  
Join Date: Dec 2007
Posts: 29
 

Default 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
__________________
Version 4.1.9
Reply With Quote
  #16  
Old 12-17-2007, 04:17 PM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default 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
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
  #17  
Old 12-17-2007, 04:23 PM
 
aquaimaging aquaimaging is offline
 

Member
  
Join Date: Dec 2007
Posts: 29
 

Default 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..
__________________
Version 4.1.9
Reply With Quote
  #18  
Old 12-17-2007, 04:27 PM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: how to delete this (with pic)

what are the range of product ids that you want included?
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
  #19  
Old 12-17-2007, 04:29 PM
 
aquaimaging aquaimaging is offline
 

Member
  
Join Date: Dec 2007
Posts: 29
 

Default Re: how to delete this (with pic)

i have 19 categories and there are 1 to 2 products every categories
__________________
Version 4.1.9
Reply With Quote
  #20  
Old 12-17-2007, 04:46 PM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default 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.
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
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 05:08 AM.

   

 
X-Cart forums © 2001-2020