Last active
April 14, 2017 06:13
-
-
Save muhfaris/a0876e0a93a37a7cf2416947e8490893 to your computer and use it in GitHub Desktop.
Zen cart - add new banner in other page
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Selection with category page, | |
then newxt action | |
*/ | |
if($current_category_id == '70'){ | |
if (SHOW_BANNERS_GROUP_SET11 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET11)) { | |
if ($banner->RecordCount() > 0) { | |
?> | |
<div id="bannerNine" class="banners"><?php echo zen_display_banner('static', $banner); ?></div> | |
<?php | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment