Hi Can anyone help me to find solution

ramesh perera asked on January 21, 2015 10:21

please help me how to get product image for wishlist items

Thanks Ramesh

Recent Answers


Brenden Kehren answered on January 21, 2015 13:59

This is right from the E-Commerce Site Transformation WishListItem:

<img src="<%# GetSKUImageUrl(100) %>" alt="<%# EvalText("SKUName", true) %>" />

Here is the full transformation:

<%@ Register Src="~/CMSModules/Ecommerce/Controls/ProductOptions/ShoppingCartItemSelector.ascx" TagName="CartItemSelector" TagPrefix="uc1" %>
<div class="wlItem whblBox">
  <div class="left">
    <a href="<%# EcommerceFunctions.GetProductUrl(Eval("SKUGUID"), EvalText("SKUName", true)) %>" title="See detail of <%# EvalText("SKUName", true) %>"> 
      <img src="<%# GetSKUImageUrl(100) %>" alt="<%# EvalText("SKUName", true) %>" />
    </a>
  </div>
  <div class="right">
    <h2>
      <a href="<%# EcommerceFunctions.GetProductUrl(Eval("SKUGUID"), EvalText("SKUName", true)) %>" title="See detail of <%# EvalText("SKUName", true) %>" > 
        <%# EvalText("SKUName", true) %>
      </a>
    </h2>
    <p>
      <%# LimitLength(Eval("SKUDescription"), 500, "...", true) %>
    </p>
    <span class="price">Price: <strong><%# GetSKUFormattedPrice() %></strong></span>
    <div class="actions">
      <uc1:CartItemSelector id="cartItemSelector" runat="server" SKUID='<%# EvalInteger("SKUID") %>' SKUEnabled='<%# EvalBool("SKUEnabled") %>'
ShowProductOptions="false" />
       <%# EcommerceFunctions.GetRemoveFromWishListLink(EvalInteger("SKUID")) %>
    </div>
  </div>
  <div class="clear"></div>
 </div
3 votesVote for this answer Mark as a Correct answer

ramesh perera answered on January 22, 2015 13:48

Thanks Brenden. Thanks for the answer.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.