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-framework.git
The following commit(s) were added to refs/heads/trunk by this push:
new f5ef671 Fixed: Default value flags not working for configurable and
variant products at the time of order entry (OFBIZ-10532)
f5ef671 is described below
commit f5ef6717030934106362f00da265da13c98db3bb
Author: Akash Jain <[email protected]>
AuthorDate: Thu Aug 27 18:03:02 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 7a18d56..ef2275b 100644
--- a/applications/order/template/entry/catalog/ProductDetail.ftl
+++ b/applications/order/template/entry/catalog/ProductDetail.ftl
@@ -433,9 +433,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 -->