The latest CB Paid Subscriptions release includes numerous improvements to the CBSubs Options integration bringing new fields and new functionality. Check out the details below!
4 new fields have been added for even more price customization functionality. You can now create plan options of the following types: Text, Number, Number (Slider), and Multi-Select.
Text, Number, and Number (Slider) come with customizable validation options. Text fields in particular can have a REGEXP validation rule, minimum length, and maximum length specified. This lets you better control how the additional data must be formatted.
Text fields can also modify the price of the plan. They however are a simple "if this field has a value then apply this price". If you need more dynamic pricing the Number field is a perfect fit as you can substitute it in with [value]. So for example to multiply the price by the number supplied you'd simply use "*[value]".
Another great new feature is Price is now optional! Simply leave the input empty and you can collect additional data without changing the plans price. This is perfect if all you need to do is get some additional mandatory subscription specific field information.
As with the other field types these can display in basket.
They can also display in subscription.
We're not done yet though! Plan options now can be configured to apply to the first price, regular price, or both. This is great if you want an option to be a one time payment and not impact renewals or recurring payments.
Next up is it's now possible to change options without requiring a renewal. Currently price options can only be changed at renewal time. With this new option users will be able to change their plan options at any time and integrations will be informed automatically at next renewal or you can use the new planoptions_onAfterUpdateOptions trigger to apply custom behavior on option updates.
Notice the new Change Options despite there being no renewal? This works the same as before when there was a renewal button. It'll simply display the form and allow easy updating.
After updating it will also update the subscription description above with the new options!
In addition to this plan price selection field types have been expanded. Currently you could only display additional plan price selection as a dropdown or radio selection. However you can now use radio buttons and radio grid as is possible with plan options.
It has been a popular request to be able to collect additional field data with payment so I hope these great new additions can finally put your mind at ease so you can begin collecting whatever data you like. We've made internal improvements for plan option field types to be easily extended with new types on request so if there's a field type you need don't hesitate to lest us know!