Assuming you will have style set to "columns", you would just add more if() or }elseif(){ lines:
PHP Code:
if (PRODUCT_LISTING_LAYOUT_STYLE == 'columns') {
if ($current_category_id == 544) {
require($template->get_template_dir('tpl_columnar_display2.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_columnar_display2.php');
} elseif ($current_category_id == 567) {
require($template->get_template_dir('tpl_columnar_display3.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_columnar_display3.php');
} elseif ($current_category_id == 246 or $current_category_id == 321) {
require($template->get_template_dir('tpl_columnar_display4.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_columnar_display4.php');
} elseif (in_array($current_category_id, explode(',', '12,24,56,69')) {
require($template->get_template_dir('tpl_columnar_display5.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_columnar_display5.php');
} else {
require($template->get_template_dir('tpl_columnar_display.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_columnar_display.php');
}
} else {// (PRODUCT_LISTING_LAYOUT_STYLE == 'rows')
Bookmarks