[
https://issues.apache.org/jira/browse/OFBIZ-6924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15199516#comment-15199516
]
Pierre Smits commented on OFBIZ-6924:
-------------------------------------
Why both exist is beyond me, but both exists already a long time. Earliest
commit for ProductStoreForms is
http://svn.apache.org/viewvc?view=revision&revision=418498 , and for StoreForms
is http://svn.apache.org/viewvc?view=revision&revision=916219 .
The reason why I decided the move is because then (for this) the Naming is in
sync. When this is committed I will create a new JIRA regarding the move of the
other forms in ProductStoreForms.xml
> comments on ordering products should be store driven
> ----------------------------------------------------
>
> Key: OFBIZ-6924
> URL: https://issues.apache.org/jira/browse/OFBIZ-6924
> Project: OFBiz
> Issue Type: Improvement
> Components: specialpurpose/ecommerce
> Affects Versions: Trunk
> Reporter: Pierre Smits
> Assignee: Pierre Smits
> Attachments: OFBIZ-6924-product-entitymodel.xml.patch,
> OFBIZ-6924-widgets.patch
>
>
> Currently, in ecommerce/tiny-gismo-GZ-1000-p a comment field is shown.
> This is a result of the following code in productdetail.ftl
> {code}
> <#assign commentEnable =
> Static["org.ofbiz.entity.util.EntityUtilProperties"].getPropertyValue("order",
> "order.item.comment.enable", delegator)>
> <#if commentEnable.equals("Y")>
> <#assign orderItemAttr =
> Static["org.ofbiz.entity.util.EntityUtilProperties"].getPropertyValue("order",
> "order.item.attr.prefix", delegator)>
> ${uiLabelMap.CommonComment} <input type="text"
> name="${orderItemAttr}comment"/>
> </#if>
> {code}
> Based on the code excerpt this is set by a property value in the order
> component. However this should be based on a configuration setting in the
> store.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)