Hi,
I want to show manufacturer image/logo into product tile. Please help me and show me how can I retrieve manufacturer thumbnail/image?
My current macro/transformation is
<%@ Register Src="~/CMSAdminControls/ContentRating/RatingControl.ascx" TagName="RatingControl" TagPrefix="cms" %> <!-- START: Product tile --> <div class='product-tile'> <div class='tile-header')"> <!-- HERE I WANT TO DISPLAY MANUFACTURER IMAGE --> </div> <div class='tile-content'> <h3><%# Eval("Heading") %></h3> </div> <cms:RatingControl ID="elemRating" runat="server" Enabled="false" RatingType="Stars" ExternalValue='<%# EvalDouble("DocumentRatingValue")/(EvalDouble("DocumentRatings") == 0?1:EvalDouble("DocumentRatings")) %>' /> <a class='overflow-link' href='<%# GetDocumentUrl() %>'></a> </div> <!-- END: Product tile -->
Thanks
Hi Jignesh, this is working for me :
<img src="<%# ResolveUrl("~/CMSPages/GetMetaFile.aspx?fileguid=" + CMS.Ecommerce.EcommerceTransformationFunctions.GetManufacturer(Eval("SKUManufacturerID"), "ManufacturerThumbnailGUID")) %>" />
Good luck!
Please, sign in to be able to submit a new answer.