Author: ashish
Date: Sat Oct 27 08:27:27 2018
New Revision: 1844947

URL: http://svn.apache.org/viewvc?rev=1844947&view=rev
Log:
Applied fix from trunk for revision: 1844946
=======================================================
Fixed: ECommerce landing page breaks if popular category does not exists.
(OFBIZ-10617)
Thanks Rehan for reporting the issue and providing the patch.

Modified:
    
ofbiz/ofbiz-plugins/branches/release17.12/ecommerce/template/catalog/ShowBestSellingCategory.ftl

Modified: 
ofbiz/ofbiz-plugins/branches/release17.12/ecommerce/template/catalog/ShowBestSellingCategory.ftl
URL: 
http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/branches/release17.12/ecommerce/template/catalog/ShowBestSellingCategory.ftl?rev=1844947&r1=1844946&r2=1844947&view=diff
==============================================================================
--- 
ofbiz/ofbiz-plugins/branches/release17.12/ecommerce/template/catalog/ShowBestSellingCategory.ftl
 (original)
+++ 
ofbiz/ofbiz-plugins/branches/release17.12/ecommerce/template/catalog/ShowBestSellingCategory.ftl
 Sat Oct 27 08:27:27 2018
@@ -16,7 +16,7 @@ KIND, either express or implied.  See th
 specific language governing permissions and limitations
 under the License.
 -->
-
+<#if productCategoryList?has_content>
 <div class="card">
   <h4 class="card-header">
     Popular Categories
@@ -101,4 +101,4 @@ under the License.
         </#list>
   </div>
 </div>
-
+</#if>


Reply via email to