Closed (fixed)
Project:
Commerce decimal quantities
Version:
7.x-1.0
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
11 Jul 2014 at 16:20 UTC
Updated:
22 Jul 2015 at 11:54 UTC
Jump to comment: Most recent
Comments
Comment #1
guy_schneerson commentedHi @maxplus and thanks for reporting this.
Ill try and look into this and hopefully its an easy fix.
Comment #2
vincentdemers commentedHi!
I have been able to achieve this by creating an custom hook_inline_entity_form_entity_form_alter function such as this one:
Might be useful for someone!
Comment #3
guy_schneerson commentedHi sorry this dropped off my radar, will try and look at it in the next few weeks.
Comment #5
guy_schneerson commentedThanks @maxplus for reporting and @vincentdemers for the code.
Pushed this feature with one small change: Added a condition to check that the entity type is a line item, as users may have other quantity fields on other entities that are not of numeric type.
Comment #6
maxplus commentedHi Guy,
I immediately start using this on a production site
Thanks, works great for me!
Comment #7
guy_schneerson commentedThanks maxplus for reporting back, A 7.x-1.1 release should follow shortly.