I want to remove the search by “weight” field from the Advanced Search page as it doesn’t apply to my business.
How do I do this?
Bump? Anyone know how to do this?
Please, if anyone out there knows how to do this I would sure appreciate it.
I can’t confirm this as I am not using version 2 myself but try commenting out the following in the customer/views/products/components/products_search_form.tpl file:
-
Make sure you just comment it out rather than deleting it in case it doesn’t work, and please post back to let us know how you go.
[quote name=‘Lyn’]I can’t confirm this as I am not using version 2 myself but try commenting out the following in the customer/views/products/components/products_search_form.tpl file:
-
Make sure you just comment it out rather than deleting it in case it doesn’t work, and please post back to let us know how you go.[/QUOTE]
Commenting it out didn’t work but deleting it did. Thanks a bunch!
Glad it worked for you.
Commenting it out should have worked. Did you use {* at the beginning and *} at the end?
I’d make that field type hidden and for the div, I’d set it display: none.