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.
The interval field created on the recurring product type does not have default allowed intervals set, you need to edit the field using the ui and select allowed periods. This should happen in the install hook.
Comment | File | Size | Author |
---|---|---|---|
#1 | 1370130-1-interval_period_config-eojthebrave.patch | 1.38 KB | eojthebrave |
Comments
Comment #1
eojthebraveLooks like this is a result of the 'allowed_periods' settings being part of the field configuration and not the field instance configuration. This seems to work for me.
Comment #2
eisagholi CreditAttribution: eisagholi commentedConfirmed. Worked for me.
Comment #3
scotwith1tWorks great. Will be keeping a close eye on this project as it will make or break our new site! :) Let's get this committed and off the known issues list!
Comment #4
larowlanCommitted to 7.x-1.x branch - thanks all.
Comment #5
scotwith1tActually, can I make one request? I know you can enter annual recurring fees like 12 months or 24 months, but even if only from a display perspective, could you add the year interval as well? It would make more sense when the product reference displays the interval for it to be able to say 1 year for an annual subscription instead of 12 months or 2 years instead of 24 months? If it's not a big deal, I think it would benefit others too.