Hi,
I love this module but I'm missing one thing: support for decimal quantity's.
I'm using the module "Commerce decimal quantities" (https://drupal.org/project/commerce_decimal_quantities) and I'm using Inline entity form as a Line item widget at my order edit screen.
My line item can really contain a decimal quantity, because I can enter it using the default line item manager widget.
When I edit a line item using Inline Entity form as widget, I cannot enter a decimal quantity in the quantity field (or another field) and get the error message "You must specify a positive number for the quantity"
I really like using Inline Entity form to edit my Line Items inside my order admin screen because I can edit all the different kinds of extra fields inside my line item. That is not possible with the default Line Item Manager...
Can anybody help?
Thanks!
Comment | File | Size | Author |
---|---|---|---|
decimal_quantity_with_line_item_manager.png | 29.52 KB | maxplus | |
no_decimal_quantity_with_inline_entity_form.png | 48.12 KB | maxplus |
Comments
Comment #1
maxplus CreditAttribution: maxplus commentedAnyone?
Comment #2
Watergate CreditAttribution: Watergate commentedI'm having the same problem. But I think a feature request should be opened for the 'Commerce decimal quantities' module, since that module is adding the "extra" functionality to the forms..
Comment #3
maxplus CreditAttribution: maxplus commentedOK,
I opened a feature request in the Decimal Quantity issue cue: https://www.drupal.org/node/2301695
Comment #4
vincentdemers CreditAttribution: vincentdemers commentedHi!
I added a snippet of code in https://www.drupal.org/node/2301695#comment-10049648 explaining how I achieved this.
Comment #5
guy_schneerson CreditAttribution: guy_schneerson commentedHi vincentdemers thanks for this. Will try and incorporate it, I love this module and anything we can do to make it better is important.