Categories

Featured templates

ZenCart. How to edit slider images. Coin Slider

Chris Diaz July 11, 2011
No votes yet.
Please wait...

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 “sliderkeyword.

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 Add Multiple Product Images



This tutorial will show you how to add multiple product images in ZenCart template(s).
This entry was posted in ZenCart Tutorials and tagged coin slider, image, slider, ZenCart. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket