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

Advanced search for admin only?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-10-2007, 09:44 AM
 
zenkiss zenkiss is offline
 

Advanced Member
  
Join Date: Jan 2006
Posts: 32
 

Default Advanced search for admin only?

Hi

I would like to take away the advanced search option for users. Most users would not know what SKU or otherwise to use anyway. I of course would like to keep it on the admin side.

How can I achieve this?

Thanks for your help!
__________________
=^-^= 4.0.19 - 3.2 Dual Core - RHEL with 6GB's
Reply With Quote
  #2  
Old 08-10-2007, 09:45 AM
 
balinor balinor is offline
 

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

Default Re: Advanced search for admin only?

{if $usertype ne "C"}advanced search link code{/if}
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 08-10-2007, 10:20 AM
 
zenkiss zenkiss is offline
 

Advanced Member
  
Join Date: Jan 2006
Posts: 32
 

Default Re: Advanced search for admin only?

Quote:
Originally Posted by balinor
{if $usertype ne "C"}advanced search link code{/if}

Thank you, what is the exact template, I would place that in and any place special?

Thanks for the prompt responses.

__________________
=^-^= 4.0.19 - 3.2 Dual Core - RHEL with 6GB's
Reply With Quote
  #4  
Old 08-17-2007, 06:36 AM
 
zenkiss zenkiss is offline
 

Advanced Member
  
Join Date: Jan 2006
Posts: 32
 

Default Re: Advanced search for admin only?

Hi-

Is there a way to utilize the only helpful advanced search option that is category, that really should be in basic search.

Thanks for your help, you are really great on your answers.

Sorry, where do I place this code, it won't take effect.

Thanks again
__________________
=^-^= 4.0.19 - 3.2 Dual Core - RHEL with 6GB's
Reply With Quote
  #5  
Old 11-04-2007, 12:55 PM
 
luckyphil luckyphil is offline
 

Newbie
  
Join Date: Sep 2007
Posts: 2
 

Default Re: Advanced search for admin only?

HI there,

I'm still finding my way around xcart and was hoping someone could expand a bit on this previous post as this is what I also need to do but could do with a little guidance if possible. The reason that I need to do this is that the drop down box in the advanced search is becoming a rather long list at about 1000 categories and will probably end up substantially bigger. Anyway, thanks in advance.

Quote:
{if $usertype ne "C"}advanced search link code{/if}

Or alternatively if there is a section that can be deleted from the templates to remove the advanced search from the customer side. I've deleted sections from the search.tpl and also deleted sections from the main/advanced_search.tpl and seems to make no difference.

Thanks

Phil
__________________
V 4.1.8
Reply With Quote
  #6  
Old 11-08-2007, 01:23 AM
 
luckyphil luckyphil is offline
 

Newbie
  
Join Date: Sep 2007
Posts: 2
 

Default Re: Advanced search for admin only?

If anyone else finds that they want to remove the advanced search on the customer side, just un tick the category box in product serach options in general settings.
__________________
V 4.1.8
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:20 AM.

   

 
X-Cart forums © 2001-2020