Can anyone come up with a search facility for manufacturers please?
It's really quite annoying that this essential feature does not exist.
Thanks in advance
Can anyone come up with a search facility for manufacturers please?
It's really quite annoying that this essential feature does not exist.
Thanks in advance
Addvanced search allows you to limit your search by manufacturer.
https://docs.zen-cart.com/user/searc...ed-search-page
Are You Vulnerable for an Accessibility Lawsuit?
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL, Domain, and MagicThumb with semi-annual and longer hosting.
You will need to reset between searches but, go to ADMIN >> Catalog >> Categories/Products and enter a manufacturer in the Search: box.
The only downside is that it will bring up the term even if it is in a cat/product's description.
Still, you should be able to get through the fog that way.
Are You Vulnerable for an Accessibility Lawsuit?
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL, Domain, and MagicThumb with semi-annual and longer hosting.
I could have *sworn* that in 1.5.8 you could go to the manufacturers page and open a listing page showing all products. Guess not.
That Software Guy. My Store: Zen Cart Modifications
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Understood, but this would provide the same functionality - better because there would be no false positive matches.
That Software Guy. My Store: Zen Cart Modifications
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
in v158, 2 new lines of code and it's done.
PHP Code:
if ($search_result && $action != 'edit_category') {
$keyword_search_fields = [
'pd.products_name',
'p.products_model',
'pd.products_description',
'p.products_id',
// first new line:
'man.manufacturers_name',
];
$where .= zen_build_keyword_where_clause($keyword_search_fields, trim($keywords));
// second new line:
$products_query_raw.= " LEFT JOIN " . TABLE_MANUFACTURERS . " man ON (man.manufacturers_id = p.manufacturers_id) ";
Bookmarks