I know the ShopSite templates can be difficult to decipher so trying to modify one can sometimes be difficult. I like to remove all the extraneous stuff and just put in the most basic things that are need to see the functionality and work up from there.
Here is my entire test template for a moreinfo page with multiple images and it works. Since I am only concerned with the moreinfo page (which is the only place the multiple images work) I removed everything from the template except the [-- DEFINE MORE_INFO_PAGE --] section and the [--DEFINE PRODUCT --] section, which just displays the product name. Since the define product section doesn't include the code to link to the moreinfo page I just go to the pagename assigned to the moreinfo page to view the results.
- Code: Select all
[-- DEFINE MORE_INFO_PAGE --]
# This defines how the more information page for the products
# that use this template will look
<html><head></head><body>
[-- MoreInfoImageRow --]
</body><html>
[-- END_DEFINE MORE_INFO_PAGE --]
[-- DEFINE PRODUCT --]
# This define is used to control how the products will look
<p>
[-- product.name --]
<p>
[-- END_DEFINE PRODUCT --]
Here is the code that is generated for the more info page by that one template tag [-- MoreInfoImageRow --] (other than the html, head, and body tags.
- Code: Select all
<html><head>
<meta name="generator" content="ShopSite Pro 11 sp2 r3 (data - basic)">
<script type="text/javascript" src="http://mydomain.com/11sp2/jimsp2/shopsite-images/en-US/javascript/jquery/jquery.js"></script>
<script type="text/javascript" language="JavaScript">
var ss_jQuery = jQuery.noConflict(true);
</script>
<script type="text/javascript" src="http://mydomain.com/11sp2/jimsp2/shopsite-images/en-US/javascript/validation/jquery.validate.js"></script>
<script type="text/javascript">var sb_rev_path='http://mydomain.com/cgi-bin/jim/11sp2/sc';
var min_length=10;
var max_length=1000;
var max_stars = 5;
var t_working='Working...';
var t_your_rating='Your rating';
var t_email_required = 'Please enter your email';
var t_email_wrong = 'Please enter a valid email';
var t_name_required = 'Please enter your name';
var t_title_required = 'Please enter review title';
var t_rating_required = 'Please enter product rating';
var t_review_length = 'Please write a longer review, at least ';
var t_characters = ' characters';
</script>
<script type="text/javascript">var background_star_path = "http://mydomain.com/11sp2/jimsp2/shopsite-images/en-US/css/images/star.jpg";var star_path = "http://mydomain.com/11sp2/jimsp2/shopsite-images/en-US/css/images/star-lit.jpg";</script><script type="text/javascript" src="http://mydomain.com/11sp2/jimsp2/shopsite-images/en-US/javascript/products/reviews.js"></script>
</head><body>
<div class="prod_img" style="overflow: auto; width: 360px; height: 320px;"><img src="http://mydomain.com/11sp2/jimsp2/media/sample-122x132.gif" alt="sample-122x132.gif" name="prod_img" >
</div>
<div class="row_img"><table class="small_img"><tr><td class="small_img"><a href="http:#" onmouseover="document.prod_img.src='http://mydomain.com/11sp2/jimsp2/media/sample-122x132.gif';" onClick="window.open('http://mydomain.com/11sp2/jimsp2/media/sample-122x132.gif', 'image_window', 'width=600px,height=600px,resizable=yes,scrollbars=yes'); return false;">
<img src="http://mydomain.com/11sp2/jimsp2/media/ss_size2/sample-122x132.gif" alt="sample-122x132.gif" border=0> </a>
</td>
<td class="small_img"><a href="http:#" onmouseover="document.prod_img.src='http://mydomain.com/11sp2/jimsp2/media/sample-185x200.gif';" onClick="window.open('http://mydomain.com/11sp2/jimsp2/media/sample-185x200.gif', 'image_window', 'width=600px,height=600px,resizable=yes,scrollbars=yes'); return false;">
<img src="http://mydomain.com/11sp2/jimsp2/media/ss_size2/sample-185x200.gif" alt="sample-185x200.gif" border=0> </a>
</td>
<td class="small_img"><a href="http:#" onmouseover="document.prod_img.src='http://mydomain.com/11sp2/jimsp2/media/sample-46x50.gif';" onClick="window.open('http://mydomain.com/11sp2/jimsp2/media/sample-46x50.gif', 'image_window', 'width=600px,height=600px,resizable=yes,scrollbars=yes'); return false;">
<img src="http://mydomain.com/11sp2/jimsp2/media/ss_size2/sample-46x50.gif" alt="sample-46x50.gif" border=0> </a>
</td>
<td class="small_img"><a href="http:#" onmouseover="document.prod_img.src='http://mydomain.com/11sp2/jimsp2/media/poweredbySS.gif';" onClick="window.open('http://mydomain.com/11sp2/jimsp2/media/poweredbySS.gif', 'image_window', 'width=600px,height=600px,resizable=yes,scrollbars=yes'); return false;">
<img src="http://mydomain.com/11sp2/jimsp2/media/ss_size2/poweredbySS.gif" alt="poweredbySS.gif" border=0> </a>
</td>
</tr></table>
</div>
</body><html>
It displays the moreinfo image and 4 other smaller images that I assigned as extra moreinfo images. When I move the mouse over one of the small images, the larger version of the image displays where the original moreinfo image was. Moving the cursor accross them rapidly changes which one is displayed.
So the only thing you should need to put in your template to see the multiple moreinfo images displaying is the tag [-- MoreInfoImageRow --]. That is assuming that you have ShopSite version that includes the multiple more info images option. My test was using ShopSite 11sp2 but it should work in at lease 11sp1 and possible in 11.0.