Right now we have a variable called $mode that is passed into recurly-subscription-plan-select.tpl.php. This mode is either "subscribe" or "change". Considering the subscription list could be significantly different based on whether a user is signing up or a user is changing their existing subscription, we should allow this template to be completely different tpl.php files through theme suggestions.
This would result the user being able to have the following templates:
recurly-subscription-plan-select.tpl.php (the current situation, and what comes with the main module)
recurly-subscription-plan-select--subscribe.tpl.php (the subscribe-specific template)
recurly-subscription-plan-select.tpl--change.php (the change-specific template)
Rethinking these template names so they were a little shorter or accurately named might also be helpful. In most other places we call the "subscribe" option "signup", so making that change would be good also.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | recurly_signup_suggestions.patch | 2.99 KB | quicksketch |
Comments
Comment #1
quicksketchFairly trivial enhancement. Committed to 7.x branch.