Glossary Item Box

Squirrelcart v6.1.0

v4.1.0

Overview

This page has been written as a guide to aid you in upgrading your site to v4.1.0 and after. Please read this page in its entirety before attempting to upgrade.

Theme and Template Changes

If you are using a custom version of any of the below template files, make the changes outlined for the custom version of that file inside your custom theme folder (Example: squirrelcart/themes/YOURTHEMENAME). If you are not using a custom version of that file you do not need to make any changes. This section is a guide only. If a v4.1.0 template file has a lot of changes, you are probably better off reverting to the default version by removing your custom version of the same file.

 

product_detail.tpl.php

  1. Find this line:
    <div class="prod_img">
  2. Change to:
    <?php if ($Slideshow):?>
     <div class="prod_img">
      <?php print $Slideshow?>
      <?php if ($Badge_Image): ?>
       <img class="badge" src="<?php print $Badge_Image['dyn'] ?>" width="<?php print $Badge_Image['width'] ?>" height="<?php print $Badge_Image['height'] ?>" alt="" />
      <?php endif; ?>    
     </div>
    <?php else:?>
     <div class="prod_img_outer" style="width: <?php print $Image['width']?>px;">
      <div class="prod_img">

  3. Find this:
    <?php if (!empty($Extra_Images)):?>
     <div class="xtra_imgs">
      <?php foreach($Extra_Images as $Extra_Image):?>
       <a href="<?php print $Extra_Image['dyn']?>" rel="lightbox[product-<?php print $record_number ?>]" target="_blank">
        <img src="<?php print $Extra_Image['thumb_dyn'] ?>" alt="<?php print $Extra_Image['alt'] ?>" />
       </a>
      <?php endforeach;?>
     </div>
    <?php endif;?>
  4. Add this after:
    </div>
    <?php endif;?>

style_main.css.php

  1. Add this to the bottom of the file:

    .prod_img_outer {
     float: left;
     margin-right: 20px;
    }

 

 

 


© 2001-2017 Lighthouse Development. All Rights Reserved.