This is an automated email from the ASF dual-hosted git repository.
akashjain pushed a commit to branch release18.12
in repository
https://gitbox.apache.org/repos/asf/ofbiz-framework.gitThe following commit(s) were added to refs/heads/release18.12 by this push:
new 4a37b68 Fixed: Default value flags not working for configurable and variant products at the time of order entry (OFBIZ-10532)
4a37b68 is described below
commit 4a37b682403948b9ee1e2de05465f645f47b9848
Author: Akash Jain <
[hidden email]>
AuthorDate: Thu Aug 27 18:15:28 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 f0ead32..d6c1f16 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 -->