Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / how to make right column not showing at product page, and other pages showing?

how to make right column not showing at product page, and other pages showing?

25 May 2012, 4:55 AM
#1
win8win avatar

win8win

Zen Follower

Join Date:
Apr 2012
Location:
beijing
Posts:
258
Plugin Contributions:
1

Post #1 by win8win

how to make right column not showing at product page, and other pages showing?

focus on the open source for online shoping website.
my site: best shop 24h.com

25 May 2012, 9:47 AM
#3
win8win avatar

win8win

Zen Follower

Join Date:
Apr 2012
Location:
beijing
Posts:
258
Plugin Contributions:
1

Post #3 by win8win

yes,"have the right column not show on product pages, but have right column show on other pages"

focus on the open source for online shoping website.
my site: best shop 24h.com

25 May 2012, 9:49 AM
#4
win8win avatar

win8win

Zen Follower

Join Date:
Apr 2012
Location:
beijing
Posts:
258
Plugin Contributions:
1

Post #4 by win8win

actually,I have just figured out,share,
/includes/templates/yourtemplate/common/tpl_main_page.php

below the following code:

if (COLUMN_RIGHT_STATUS == 0 || (CUSTOMERS_APPROVAL == '1' and $_SESSION['customer_id'] == '') || (CUSTOMERS_APPROVAL_AUTHORIZATION == 1 && CUSTOMERS_AUTHORIZATION_COLUMN_RIGHT_OFF == 'true' and ($_SESSION['customers_authorization'] != 0 or $_SESSION['customer_id'] == ''))) {
// global disable of column_right
$flag_disable_right = true;
}

add

if ($_GET['main_page'] == 'product_info') {
$flag_disable_right = true;
}

focus on the open source for online shoping website.
my site: best shop 24h.com