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?
focus on the open source for online shoping website.
my site: best shop 24h.com
You mean have the right column not show on product pages, but have right column show on other pages?
Take a look at includes/templates/YOURTEMPLATE/common/tpl_main_page.php
sph
prommart com
zencart 1.5 demo test sites:
http://www.prom-mart.com/demo-3/
http://www.prom-mart.com/demo-2/
http://www.prom-mart.com/demo-1/
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
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
Bookmarks