In the advanced search option is an option “[color=#404040][font=Arial, Tahoma, Helvetica, sans-serif][size=3]Search by store[/size][/font][/color]”
It allow the customer to make its search in all the stores.
As I don't want that my customer can search any products on another shop, how can I disable this option ?
[quote name='Pascal' timestamp='1399463541' post='183084']
In the advanced search option is an option “[color=#404040][font=Arial, Tahoma, Helvetica, sans-serif][size=3]Search by store[/size][/font][/color]”
It allow the customer to make its search in all the stores.
As I don't want that my customer can search any products on another shop, how can I disable this option ?
[/quote]
Hi,
What version of CS-Cart do you use? We cannot find this option in templates of the latest versions.
I'm using version 3
[quote name='Pascal' timestamp='1399468127' post='183094']
I'm using version 3
[/quote]
Thank you for the answer. You need to open the “stores/STORE_ID/skins/basic/customer/views/products/components/products_search_form.tpl” file and replace this line of code:
{if $smarty.const.PRODUCT_TYPE == "MULTIVENDOR" || $smarty.const.PRODUCT_TYPE == "ULTIMATE"}
with this one:
{if $smarty.const.PRODUCT_TYPE == "MULTIVENDOR" && $smarty.const.PRODUCT_TYPE == "ULTIMATE"}
Thank you.
Thanks for help
[quote name=‘Pascal’ timestamp=‘1399472373’ post=‘183096’]
Thanks for help
[/quote]
You are welcome!