Is there any way to disable the left sidebox column from the product listing page only ?
Thanks in advance![]()
Is there any way to disable the left sidebox column from the product listing page only ?
Thanks in advance![]()
Have a look at the comments in the file - tpl_main_page.php
And the tutorial - I searched for "disable"
https://www.zen-cart.com/tutorials/i...hp?article=233
Zen-Venom Get Bitten
yes I've already read this article but there is no information to disable the left sidebox column on product listing page. Means which variable should I pass in that array for product listing page?
'list_pages_to_skip_all_right_sideboxes_on_here,separated_by_commas,and_no_space s'Create your list for your listing pages...Code:if (in_array($current_page_base,explode(",",'list_pages_to_skip_all_right_sideboxes_on_here,separated_by_commas,and_no_spaces')) ) { $flag_disable_left = true; }
check in your browser address bar and note the cpath as you load your listing pages they will be like "cPath=1_4"
It is the number(s) that you need
Zen-Venom Get Bitten
These settings will turn off the left sideboxes on the product page(s) and
if (in_array($current_page_base,explode(",",'product_info')) ) {
$flag_disable_left = true;
}
if ($current_page_base == 'index' and $cPath > '0' ) {
$flag_disable_left = true;
}
No these setting is not working. this setting is disabling the left sidebox when I am viewing the categories and sub categories.
I've set the "Skip 1-prod Categories" to false so product info page will never come.
so when I click on a category name link it will redirected to me to product listing page or sub categories page. On product listing page only I want to disable the left side box.
See my post #4On product listing page only I want to disable the left side box.
Zen-Venom Get Bitten