[ofbiz-framework] branch release17.12 updated: Fixed: Default value flags not working for configurable and variant products at the time of order entry (OFBIZ-10532)

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

[ofbiz-framework] branch release17.12 updated: Fixed: Default value flags not working for configurable and variant products at the time of order entry (OFBIZ-10532)

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

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


The following commit(s) were added to refs/heads/release17.12 by this push:
     new fddc3ac  Fixed: Default value flags not working for configurable and variant products at the time of order entry (OFBIZ-10532)
fddc3ac is described below

commit fddc3ac8c1b2a153362ce981a4f4342420ced0e7
Author: Akash Jain <[hidden email]>
AuthorDate: Thu Aug 27 18:20:14 2020 +0530

    Fixed: Default value flags not working for configurable and variant products at the time of order entry (OFBIZ-10532)
   
    Thanks, Deepak Nigam for report.
---
 applications/order/template/entry/catalog/ProductDetail.ftl | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/applications/order/template/entry/catalog/ProductDetail.ftl b/applications/order/template/entry/catalog/ProductDetail.ftl
index fe6833a..e44832e 100644
--- a/applications/order/template/entry/catalog/ProductDetail.ftl
+++ b/applications/order/template/entry/catalog/ProductDetail.ftl
@@ -435,9 +435,11 @@ ${virtualJavaScript!}
       <form method="post" action="<@ofbizUrl>additem<#if requestAttributes._CURRENT_VIEW_??>/${requestAttributes._CURRENT_VIEW_}</#if></@ofbizUrl>" name="addform"  style="margin: 0;">
         <#if requestAttributes.paramMap?has_content>
           <input type="hidden" name="itemComment" value="${requestAttributes.paramMap.itemComment!}" />
+          <input type="hidden" name="useAsDefaultComment" value="${requestAttributes.paramMap.useAsDefaultComment!}" />
           <input type="hidden" name="shipBeforeDate" value="${requestAttributes.paramMap.shipBeforeDate!}" />
           <input type="hidden" name="shipAfterDate" value="${requestAttributes.paramMap.shipAfterDate!}" />
           <input type="hidden" name="itemDesiredDeliveryDate" value="${requestAttributes.paramMap.itemDesiredDeliveryDate!}" />
+          <input type="hidden" name="useAsDefaultDesiredDeliveryDate" value="${requestAttributes.paramMap.useAsDefaultDesiredDeliveryDate!}" />
         </#if>
         <#assign inStock = true>
         <#-- Variant Selection -->