If this tutorial is not what you were looking for, you still have any questions, suggestions or concerns - feel free to let us know. Please help us to serve you better!

Your Name

Your Email

Your Message (required)

ZenCart. How to edit slider images. Coin Slider

This tutorial will show you how to locate and edit slider images in ZenCart.

 

Locating slider

Usually the slider code could be found in includes\templates\theme###\common\tpl_main_page.php file.

You can use the search tool (CTRL+F) and search for the “slider” keyword.

The slider displays ZenCart banner groups. Each slide displays single banner group. The slide code is as follows:

<!--  BOF- BANNER #1 display -->
  <?php
  if  (SHOW_BANNERS_GROUP_SET1 != '' && $banner =  zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET1)) {
  if  ($banner->RecordCount() > 0) {
  ?>
  <div  id="bannerOne"><?php echo zen_display_banner('static',  $banner); ?></div>
  <?php
  }
  }
  ?>
  <!--  EOF- BANNER #1 display -->
  

Where you can see the banner group ID – SHOW_BANNERS_GROUP_SET1

 

Editing slides

To change the banner images open ZenCart admin panel, go to Tools>Banners Manager.

Select any banner and click Edit. You can learn more about editing banners checking the detailed tutorial.

 

Feel free to check the detailed video tutorial below:

ZenCart. How to edit slider images. Coin Slider