AbanteCart Development > Development Help Needed
Search Products by Manufacturer
(1/1)
vstone:
Please add option to search for products by the manufacturer in the admin panel. Have not found a way to display all of the products entered according to the vendor.
arshadkazmi42:
Use manufacturer name as keywords in Product Tags and Metatags.
Then by typing the manufacturer name also products realted to that manufacturer will be shown
erictwendell:
--- Quote from: vstone on August 22, 2013, 12:00:12 PM ---Please add option to search for products by the manufacturer in the admin panel. Have not found a way to display all of the products entered according to the vendor.
--- End quote ---
I have have used this code. Check whether it works for you.
$page_menu_bar =
'<div id="menu1"><ul id="rmenu2" class="clearfix rMenu-hor rMenu">' . "\n";
if ($bfa_ata['home_page_menu_bar'] != '') {
$page_menu_bar .= '<li class="page_item';
if (function_exists('is_front_page')) {
if (is_front_page() OR is_home()) {
$page_menu_bar .= ' current_page_item';
}
} elseif (is_home()) {
$page_menu_bar .= ' current_page_item';
}
$page_menu_bar .= '"><a href="' . get_option('home') . '/" title="' . get_option('blogname') . '">' .
$bfa_ata['home_page_menu_bar'] . '</a></li>' . "\n";
}
if ($bfa_ata['levels_page_menu_bar'] == "") {
$bfa_ata['levels_page_menu_bar'] = 0;
}
$page_menu_bar .= bfa_hor_pages($bfa_ata['sorting_page_menu_bar'], $bfa_ata['levels_page_menu_bar'],
$bfa_ata['titles_page_menu_bar'], $bfa_ata['exclude_page_menu_bar']);
$page_menu_bar .= '</ul></div>' . "\n"; ' <div><ul class="searchform">' .
include (TEMPLATEPATH . '/searchform.php');'</ul></div>' . "\n";
For more information you can also check WWW.ARIESTCO.COM
Tishbyte:
--- Quote from: erictwendell on March 14, 2014, 03:54:35 AM ---
--- Quote from: vstone on August 22, 2013, 12:00:12 PM ---Please add option to search for products by the manufacturer in the admin panel. Have not found a way to display all of the products entered according to the vendor.
--- End quote ---
I have have used this code. Check whether it works for you.
$page_menu_bar =
'<div id="menu1"><ul id="rmenu2" class="clearfix rMenu-hor rMenu">' . "\n";
if ($bfa_ata['home_page_menu_bar'] != '') {
$page_menu_bar .= '<li class="page_item';
if (function_exists('is_front_page')) {
if (is_front_page() OR is_home()) {
$page_menu_bar .= ' current_page_item';
}
} elseif (is_home()) {
$page_menu_bar .= ' current_page_item';
}
$page_menu_bar .= '"><a href="' . get_option('home') . '/" title="' . get_option('blogname') . '">' .
$bfa_ata['home_page_menu_bar'] . '</a></li>' . "\n";
}
if ($bfa_ata['levels_page_menu_bar'] == "") {
$bfa_ata['levels_page_menu_bar'] = 0;
}
$page_menu_bar .= bfa_hor_pages($bfa_ata['sorting_page_menu_bar'], $bfa_ata['levels_page_menu_bar'],
$bfa_ata['titles_page_menu_bar'], $bfa_ata['exclude_page_menu_bar']);
$page_menu_bar .= '</ul></div>' . "\n"; ' <div><ul class="searchform">' .
include (TEMPLATEPATH . '/searchform.php');'</ul></div>' . "\n";
For more information you can also check WWW.ARIESTCO.COM
--- End quote ---
What file did you put this into and at what line?
Thanks.
Tishbyte:
If it's not too late, here is an early version of an extension I built.
http://marketplace.abantecart.com/mass_edit
Navigation
[0] Message Index
Go to full version