zc 1.5.5a, Responsive Sheffield Blue 2.0, IH4, SbyA github downloaded Apr 12 2016 (and now looking at v as of May 31 2016 github)
I didn't realize SbyA was capable of swapping out main image according to single attribute. I was unsuccessful doing a test product so looking to see what I've missed.
In the changelog of github recent files there is this bit:
Code:
Example (using zen_lightbox mod)
document.write('<?php echo '<a href="' . zen_lightbox($products_image_large, addslashes($products_name), LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT) . '" rel="' . $rel . '" title="' . addslashes($products_name) . '">' . zen_image($products_image_medium, addslashes($products_name), MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT,'id="SBA_ProductImage"') . '<br /><span class="imgLink">' . TEXT_CLICK_TO_ENLARGE . '</span></a>'; ?>');
And I can see in my /custom template/templates/tpl_mod_prod_main_img where this would go and I presume I would not inclue the document.write( and ending )
Responsive Sheffield Blue uses zen_colorbox, not lightbox. Can I substitute the former for the latter?
If I can, then I'll next ask about inc/classes/order with which I had a nerve racking merge experience ;o) If I can't maybe I'll just leave well enough alone.
My SbyA is working perfectly as near as I can tell - been using it since zc 1.3.7 but if I can do the attribute image swapper it would be very appealing to me - I would switch dual attribute products to single attribute (colour) and handle the other attribute (size) by category placement.
Bookmarks