Hi all,
Having an issue with the search option not searching some fields and would like to know which file I need to make changes to so that it will search different fields or exclude ones.
Any help would be appreciated.
Hi all,
Having an issue with the search option not searching some fields and would like to know which file I need to make changes to so that it will search different fields or exclude ones.
Any help would be appreciated.
Outdoorking
www.outdoorking.com.au
The PHP code for that is complex. It's in the default_filters.php file. But I recommend exercising caution when editing that.
More importantly, which fields do you want it to search and why?
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Those index_filters are also overridable, so you don't need to carve up the as-shipped version of the file to try your changes. Simply copy the file /includes/index_filters/default_filters.php to /includes/index_filters/YOUR_TEMPLATE/default_filters.php and make your edits there.
If you choose not to use your customizations, simply delete the template-override version of the file and you'll be back to the default as-shipped version.
Bookmarks