In anticipation to moving to Miva 9 I've been updating my 5.5 store to use the image machine everywhere and stop using the legacy images. Today's challenge is the Related Product List Layout. I have successfully set it to use the image machine (via a CATIMG item type) but now the images are no longer hot. The link under the image works but clicking the image does not.
If you want to see it here's an example: http://www.preparesmart.com/mm5/merc...egory_Code=011
Can someone help me troubleshoot this current portion of the Layout? Further down is the "original" layout version.
<div class="product-details">
<div class="product-image-related">
<mvt:if expr="NOT ISNULL l.settings:product:customfield_values:productimage customfields:CATIMG">
<div class="custom-field" id="productimagecustomfields-CATIMG">&mvte:customfield_names:productimagecustom fields:CATIMG;: <span class="bold">&mvt:product:customfield_values:produ ctimagecustomfields:CATIMG;</span></div>
</mvt:if><img id="main_image_&mvte:product:id;" src="graphics/en-US/cssui/blank.gif" alt="&mvte:product:name;" />
</div>
<ul id="thumbnails_&mvte:product:id;" class="thumbnails"></ul>
<div id="closeup_div_&mvte:product:id;" class="closeup"><img id="closeup_image_&mvte:product:id;" src="graphics/en-US/cssui/blank.gif" alt="&mvte:product:name;"><div><a id="closeup_close_&mvte:product:id;">close</a></div></div>
<mvt:item name="related_products_imagemachine" param="body:product:id" />
<div class="clear product-image-margin"></div>
For comparison I went back to my Dev store that has not been updated to us the image machine and the images for the Related Products are active links. Here's the original:
<div class="product-details">
<div class="product-thumbnail">
<mvt:if expr="NOT ISNULL l.settings:product:thumbnail"><a href="&mvte:product:link;"><img src="&mvte:product:thumbnail;" alt="&mvte:product:name;" /><mvt:else><a class="thumbnail-not-available" href="&mvte:product:link;" title="&mvte:product:name;"></mvt:if></a>
</div>
If you want to see it here's an example: http://www.preparesmart.com/mm5/merc...egory_Code=011
Can someone help me troubleshoot this current portion of the Layout? Further down is the "original" layout version.
<div class="product-details">
<div class="product-image-related">
<mvt:if expr="NOT ISNULL l.settings:product:customfield_values:productimage customfields:CATIMG">
<div class="custom-field" id="productimagecustomfields-CATIMG">&mvte:customfield_names:productimagecustom fields:CATIMG;: <span class="bold">&mvt:product:customfield_values:produ ctimagecustomfields:CATIMG;</span></div>
</mvt:if><img id="main_image_&mvte:product:id;" src="graphics/en-US/cssui/blank.gif" alt="&mvte:product:name;" />
</div>
<ul id="thumbnails_&mvte:product:id;" class="thumbnails"></ul>
<div id="closeup_div_&mvte:product:id;" class="closeup"><img id="closeup_image_&mvte:product:id;" src="graphics/en-US/cssui/blank.gif" alt="&mvte:product:name;"><div><a id="closeup_close_&mvte:product:id;">close</a></div></div>
<mvt:item name="related_products_imagemachine" param="body:product:id" />
<div class="clear product-image-margin"></div>
For comparison I went back to my Dev store that has not been updated to us the image machine and the images for the Related Products are active links. Here's the original:
<div class="product-details">
<div class="product-thumbnail">
<mvt:if expr="NOT ISNULL l.settings:product:thumbnail"><a href="&mvte:product:link;"><img src="&mvte:product:thumbnail;" alt="&mvte:product:name;" /><mvt:else><a class="thumbnail-not-available" href="&mvte:product:link;" title="&mvte:product:name;"></mvt:if></a>
</div>
Comment