[ofbiz-plugins] branch trunk updated: Improved: Additional images not showing correctly on product detail page (OFBIZ-11981)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ofbiz-plugins] branch trunk updated: Improved: Additional images not showing correctly on product detail page (OFBIZ-11981)

akashjain
This is an automated email from the ASF dual-hosted git repository.

akashjain pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-plugins.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 27c1bbe  Improved: Additional images not showing correctly on product detail page (OFBIZ-11981)
27c1bbe is described below

commit 27c1bbed7eb6851b343eab4a71f9a5c571ae7093
Author: Akash Jain <[hidden email]>
AuthorDate: Tue Aug 25 21:37:20 2020 +0530

    Improved: Additional images not showing correctly on product detail page (OFBIZ-11981)
---
 ecommerce/template/catalog/ProductDetail.ftl | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/ecommerce/template/catalog/ProductDetail.ftl b/ecommerce/template/catalog/ProductDetail.ftl
index b393b46..9b66d1b 100644
--- a/ecommerce/template/catalog/ProductDetail.ftl
+++ b/ecommerce/template/catalog/ProductDetail.ftl
@@ -336,10 +336,10 @@ $(function(){
 </#macro>
 
 <div id="product-detail" class="card">
-  <#assign productAdditionalImage1 = productContentWrapper.get("ADDITIONAL_IMAGE_1", "url")! />
-  <#assign productAdditionalImage2 = productContentWrapper.get("ADDITIONAL_IMAGE_2", "url")! />
-  <#assign productAdditionalImage3 = productContentWrapper.get("ADDITIONAL_IMAGE_3", "url")! />
-  <#assign productAdditionalImage4 = productContentWrapper.get("ADDITIONAL_IMAGE_4", "url")! />
+  <#assign productAdditionalImage1 = productContentWrapper.get("XTRA_IMG_1_MEDIUM", "url")! />
+  <#assign productAdditionalImage2 = productContentWrapper.get("XTRA_IMG_2_MEDIUM", "url")! />
+  <#assign productAdditionalImage3 = productContentWrapper.get("XTRA_IMG_3_MEDIUM", "url")! />
+  <#assign productAdditionalImage4 = productContentWrapper.get("XTRA_IMG_4_MEDIUM", "url")! />
 
   <#-- Category next/previous -->