Author: jleroux
Date: Sun Sep 29 09:31:59 2019
New Revision: 1867712
URL:
http://svn.apache.org/viewvc?rev=1867712&view=revLog:
Improved: UI issue on ecommerce Product page
(OFBIZ-10884)
Navigate to demo-trunk ecom
Click on Product titled as Enchiladas, It redirects to the product page
On the Product page, Multiple horizontal lines are displayed
Thanks: Garima jain for report, Sourabh Punyani for initial patch and Jayesh
Agrawal for updated patch
Modified:
ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/ConfigProductDetail.ftl
Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/ConfigProductDetail.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/ConfigProductDetail.ftl?rev=1867712&r1=1867711&r2=1867712&view=diff==============================================================================
--- ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/ConfigProductDetail.ftl (original)
+++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/catalog/ConfigProductDetail.ftl Sun Sep 29 09:31:59 2019
@@ -476,6 +476,7 @@ ${virtualJavaScript!}
</td>
</tr>
<#-- Long description of product -->
+ <#if productContentWrapper.get("LONG_DESCRIPTION", "html") != "">
<tr>
<td colspan="2">
<div>${productContentWrapper.get("LONG_DESCRIPTION", "html")!}</div>
@@ -486,6 +487,7 @@ ${virtualJavaScript!}
<hr class='sepbar'/>
</td>
</tr>
+ </#if>
<#-- Any attributes/etc may go here -->
<#-- Product Configurator -->
<tr>
@@ -676,6 +678,7 @@ ${virtualJavaScript!}
</td>
</tr>
<#-- Product Reviews -->
+ <#if productReviews?has_content>
<tr>
<td colspan="2">
<div>${uiLabelMap.OrderCustomerReviews}:</div>
@@ -691,7 +694,6 @@ ${virtualJavaScript!}
<hr class='sepbar'/>
</td>
</tr>
- <#if productReviews?has_content>
<#list productReviews as productReview>
<#assign postedUserLogin = productReview.getRelatedOne("UserLogin", false)>
<#assign postedPerson = postedUserLogin.getRelatedOne("Person", false)!>