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)
-   -   Advanced search for admin only? (https://forum.x-cart.com/showthread.php?t=33182)

zenkiss 08-10-2007 09:44 AM

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!

balinor 08-10-2007 09:45 AM

Re: Advanced search for admin only?
 
{if $usertype ne "C"}advanced search link code{/if}

zenkiss 08-10-2007 10:20 AM

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.

:)

zenkiss 08-17-2007 06:36 AM

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

luckyphil 11-04-2007 12:55 PM

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

luckyphil 11-08-2007 01:23 AM

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.


All times are GMT -8. The time now is 05:56 AM.

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