To Show Banner Three on Main Page Only in Zen Cart.

Edit …includes/templates/template_default/common/tpl_main_page.php
Replace…

if (SHOW_BANNERS_GROUP_SET3 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET3)) {

With

if (SHOW_BANNERS_GROUP_SET3 != '' && $this_is_home_page && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET3)) {

Save to …includes/templates/YOUR_TEMPLATE/common/tpl_main_page.php

Leave a Reply

Your email address will not be published. Required fields are marked *

Design by FtroopDad Theme by itx