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

Don't show certain extra fields

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 12-08-2009, 12:37 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Don't show certain extra fields

Ok so my client has a long list of extra fields adn he doesn't want about 5 or 6 of them not to show.

I thought this mihgt work but it doesn't.

{if $v.field ne "EB-Category 1" || $v.field ne "Vender 1 Code"}

If I use this {if $v.field ne "EB-Category 1"} the one will show but as soon as I add more than one field to the if condition it stops working.

Any suggestions?
__________________
xcart 5.1.2
Reply With Quote
  #2  
Old 12-08-2009, 03:43 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Don't show certain extra fields

Use "and"
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote

The following user thanks cflsystems for this useful post:
Ashley (12-08-2009)
  #3  
Old 12-08-2009, 05:03 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: Don't show certain extra fields

duh, thx! I stare at this stuff so long I get stupid!!
__________________
xcart 5.1.2
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 06:04 AM.

   

 
X-Cart forums © 2001-2020