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

Turn off inventory display for a particular product

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-21-2006, 08:48 AM
 
filch filch is offline
 

Advanced Member
  
Join Date: Jan 2006
Location: Toronto, On
Posts: 61
 

Default Turn off inventory display for a particular product

Is there a way to not display the inventory for a particular product while allowing most others to still display it? I am think about a product like a donation where the customer enters in whatever value they want but inventory would not really apply to this type of product or service.

Dave
__________________
Dave Filchak - President
Zuka Inc.
X-Cart Pro | Version 4.0.17 [unix]
Reply With Quote
  #2  
Old 01-22-2006, 04:02 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

YOu would need to write an {if} statement in the template that tells X-Cart not to display that bit of code for a particular product. Good tutorial on if statements here:

http://forum.x-cart.com/viewtopic.php?t=12234
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 01-22-2006, 08:57 AM
 
filch filch is offline
 

Advanced Member
  
Join Date: Jan 2006
Location: Toronto, On
Posts: 61
 

Default re: not showing inventory

Thanks .. I will see what I can do.

Dave
__________________
Dave Filchak - President
Zuka Inc.
X-Cart Pro | Version 4.0.17 [unix]
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 08:06 PM.

   

 
X-Cart forums © 2001-2020