Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Describe your bug or feature request.
The price fields created via the field API can only allow zero and above prices. It would be much more flexible to open to negative prices via the field settings to cover more use cases.
Comment | File | Size | Author |
---|---|---|---|
#2 | commerce_price-widget_allow_negative-3243298-2.patch | 2.72 KB | Aerzas |
Comments
Comment #2
Aerzas CreditAttribution: Aerzas at Watch Dreamer SA commentedHere is the related patch
Comment #3
Aerzas CreditAttribution: Aerzas at Watch Dreamer SA commentedComment #4
jsacksick CreditAttribution: jsacksick at Centarro commentedLooks good to me, wonder if we should say "Allow negative prices" instead, other than that looks ready to commit.
Comment #5
jsacksick CreditAttribution: jsacksick at Centarro commented