Yes Kobra, I am trying to create new side box for supplier. As said. I am able to see new sidebox supplier in e-commerce.
I noticed If defined product for Manufacturer are coming through two files- default_filter.php and tpl_manufacturers_select.php .
But unable to understand how manufacturer_id move from tpl_manufacturers_select.php to default_filter.php.
If I change manufacture_id to supplier_id in both files, Then My new sidebox Supplier start giving products.
Like
in tpl_manufacturers_select.php
$content .= zen_draw_pull_down_menu('manufacturers_id', $manufacturer_sidebox_array, (isset($_GET['manufacturers_id']) ? $_GET['manufacturers_id'] : ''), 'onchange="this.form.submit();" size="' . MAX_MANUFACTURERS_LIST . '" style="width: 90%; margin: auto;"') . zen_hide_session_id();
to
$content .= zen_draw_pull_down_menu('suppliers_id', $manufacturer_sidebox_array, (isset($_GET['manufacturers_id']) ? $_GET['manufacturers_id'] : ''), 'onchange="this.form.submit();" size="' . MAX_MANUFACTURERS_LIST . '" style="width: 90%; margin: auto;"') . zen_hide_session_id();
and
in default_filter.php
if (isset($_GET['manufactures_id']) && $_GET['brands_id'] != '' ) {
to
if (isset($_GET['suppliers_id']) && $_GET['brands_id'] != '' ) {