Author: surajk
Date: Sat Mar  9 06:25:00 2019
New Revision: 1855082

URL: http://svn.apache.org/viewvc?rev=1855082&view=rev
Log:
Fixed: Product image is not displayed on showcart page of ecommerce.
(OFBIZ-10738)
Thanks Arpit Mor for reporting the issue and Praveen Sharma for providing the 
patch.
It was occuring due to incorrect encoder type used and so URL was not creating 
properly to render the image.

Modified:
    ofbiz/ofbiz-plugins/trunk/ecommerce/template/cart/ShowCart.ftl

Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/cart/ShowCart.ftl
URL: 
http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/cart/ShowCart.ftl?rev=1855082&r1=1855081&r2=1855082&view=diff
==============================================================================
--- ofbiz/ofbiz-plugins/trunk/ecommerce/template/cart/ShowCart.ftl (original)
+++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/cart/ShowCart.ftl Sat Mar  9 
06:25:00 2019
@@ -255,7 +255,7 @@ under the License.
                       </#if>
                       <#assign smallImageUrl =
                           
Static["org.apache.ofbiz.product.product.ProductContentWrapper"].getProductContentAsText(
-                          cartLine.getProduct(), "SMALL_IMAGE_URL", locale, 
dispatcher, "url")! />
+                          cartLine.getProduct(), "SMALL_IMAGE_URL", locale, 
dispatcher, "html")! />
                       <#if !smallImageUrl?string?has_content>
                         <#assign smallImageUrl = "/images/defaultImage.jpg" />
                       </#if>


Reply via email to