[
https://issues.apache.org/jira/browse/OFBIZ-11916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17173664#comment-17173664 ]
ASF subversion and git services commented on OFBIZ-11916:
---------------------------------------------------------
Commit 5366f7d85e126f065f6272fe57f4924e2f921011 in ofbiz-plugins's branch refs/heads/trunk from Jacques Le Roux
[
https://gitbox.apache.org/repos/asf?p=ofbiz-plugins.git;h=5366f7d ]
Improved: Can't enter decimals when ordering on ecommerce (OFBIZ-11899)
In stable demo, and R18 locally, you can order a half pizza, that's no longer
possible in trunk demo.
Moreover you can't use the Add button in trunk, And if you use the Config button
then it orders. There must be a mix between the 2 buttons, maybe the reason
why we can't no longer enter decimals in trunk...
Suraj: Added a patch with some refactoring of js code and used form attribute to
get quantity value for addform.
This might work with the provided patch but I think a better solution could be
through markup. Also, due to some time constraints, I was not able to dig deep
into how it is working in another branch.
It's a workaround that we can use to continue over OFBIZ-11916.
But I don't like that we have both add_amount and quantity fields out of the
addform form. Actually as I explained at
https://markmail.org/message/lnz57yzj3uywcr2yI don't even understand how this is possible since the FTL source sounds correct...
Thanks: Suraj for the temporary workaround
> Order parts of product
> -----------------------
>
> Key: OFBIZ-11916
> URL:
https://issues.apache.org/jira/browse/OFBIZ-11916> Project: OFBiz
> Issue Type: Improvement
> Components: ecommerce, order, product/catalog
> Affects Versions: Trunk
> Reporter: Jacques Le Roux
> Priority: Minor
>
> I created this as an improvement after our [discussion on dev ML|
https://markmail.org/message/xo7uzu46gdebzapi] but it could be considered a bug. You should not be able to order parts of products like "Tiny Chrome Widget".
> The idea it to set orderDecimalQuantity to false for all products data but some, like Pizza, you can decide to sell parts of it.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)