I think this may have been done, but I checked the Miva docs and didn't find it.
The snippet also needs to be able to reflect any Sale or other Price Group Pricing when the customer is logged in. This snippet never had that ability, and it is needed.
Here's what I have:
I figure this might be another one that should go into the repository. Thanks! Leslie
The snippet also needs to be able to reflect any Sale or other Price Group Pricing when the customer is logged in. This snippet never had that ability, and it is needed.
Here's what I have:
Code:
<div class="row related-products"> <mvt:item name="toolkit" param="vquick|pcount|l.all_settings:product:custom field_values:customfields:alsobought" /> <mvt:if expr="pcount GT 0"> <mvt:do name="l.success" file="g.Module_Library_DB" value="ImageType_Load_Code( 'main', l.settings:imagetype )" /> <mvt:assign name="l.width" value="255" /> <mvt:assign name="l.height" value="333" /> <div class="column whole"> <h4 class="nm">Customers who bought this item also bought</h4> <div class="green">•••••</div> </div> <div class="breaker show medium-hide"></div> <div class="column whole related-products-carousel"> <div id="js-also-bought-carousel" class="column whole np"> <mvt:foreach iterator="quicklist" array="quicklists"> <mvt:comment><mvt:assign name="l.settings:generated_image:image" value="''" /> <mvt:assign name="l.settings:imagedata:image" value="''" /> <mvt:assign name="l.settings:imagedata" value="''" /> <mvt:assign name="l.settings:image:image_id" value="''" /></mvt:comment> <mvt:do file="g.Module_Feature_URI_UT" name="l.settings:quicklist:uri" value="Store_Product_URL(l.settings:quicklist, NULL)" /> <div class="category-product"> <a data-mm-linktype="product-list-link" href="&mvt:quicklist:uri;" title="&mvt:quicklist:name;"> <span class="category-product-image-wrapper border-cool-grey"> <img src="&mvt:quicklist:thumbnail;" alt="&mvt:quicklist:name;" title="&mvt:quicklist:name;" /> </span> <p class="category-product-name"><a href="&mvt:quicklist:uri;">&mvt:quicklist:name;</a></p> <mvt:if expr="g.customer:login"> <p class="category-product-price-container"> <span class="category-product-price">&mvt:quicklist:formatted_price;</span> </p> </mvt:if> </a> </div> </mvt:foreach> </div> </div> </mvt:if> </div>
Comment