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.
I would like to be able to add registrations to the commerce cart even if they are free.
I have some free registrations and some chargeable registrations, but I want them all to go through the commerce checkout workflow.
Thanks you for this module.
Comment | File | Size | Author |
---|---|---|---|
#2 | allow_0_value_payment.patch | 662 bytes | gcb |
Comments
Comment #1
lightsurge CreditAttribution: lightsurge commentedThere seemed to be a few architectural changes to the module that would be needed to get this working. Various places value was being checked.
So I just implemented a few hooks to adjust the price to '1', and then change it back to 0 in the cart (since none of my real items value will ever be 1, i.e 1 penny, I hope!).
Not a good solution, but in case it helps anybody:
Comment #2
gcbThis is fixed in the latest commit. Here's a patch you can apply. Make sure your items have a "0" price at least, though. Null prices still won't work.