Skip to content

Instantly share code, notes, and snippets.

@muhfaris
Last active April 14, 2017 06:13
Show Gist options
  • Save muhfaris/a0876e0a93a37a7cf2416947e8490893 to your computer and use it in GitHub Desktop.
Save muhfaris/a0876e0a93a37a7cf2416947e8490893 to your computer and use it in GitHub Desktop.
Zen cart - add new banner in other page
/*
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