-
Notifications
You must be signed in to change notification settings - Fork 55
fix(subscription-modal): limited subscriptions #4309
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(subscription-modal): limited subscriptions #4309
Conversation
dkoo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is working! Maybe we should also align the "subscription limit" message in the Blocks repo with same message and link to view/manage the subscription? This message is the one shown when the Checkout Button block is tied directly to a limited variation or simple product.
|
Good call! I'll set a PR up soon Thanks for the review |
|
Hey @miguelpeixe, good job getting this PR merged! 🎉 Now, the Please check if this PR needs to be included in the "Upcoming Changes" and "Release Notes" doc. If it doesn't, simply remove the label. If it does, please add an entry to our shared document, with screenshots and testing instructions if applicable, then remove the label. Thank you! ❤️ |
# [6.26.0-alpha.1](v6.25.1...v6.26.0-alpha.1) (2025-11-27) ### Bug Fixes * **content-gifting:** ux tweaks and other fixes ([#4318](#4318)) ([952dd83](952dd83)) * **contrib-meter:** ensure percentage follows bar progress when using linear style ([#4320](#4320)) ([cbe8665](cbe8665)) * hide Content Gate CPT from WP Admin menu ([#4321](#4321)) ([70bbe7e](70bbe7e)) * make some Collections spacing more specific to archive pages ([#4293](#4293)) ([21daeaf](21daeaf)) * **media:** move default image UI to Advanced Settings ([#4296](#4296)) ([a22f06d](a22f06d)) * **modal-checkout:** prevent session reload after new customer account ([#4310](#4310)) ([89208fc](89208fc)) * **my-account:** add payment method query var ([#4325](#4325)) ([a7f2cb1](a7f2cb1)) * **my-account:** select font size ([#4324](#4324)) ([31a48c0](31a48c0)) * repeat button block styles in collections for WP 6.9 ([#4319](#4319)) ([6e3c5f8](6e3c5f8)) * **subscription-modal:** limited subscriptions ([#4309](#4309)) ([715f3c9](715f3c9)) ### Features * add autocomplete + token + multiselect component ([#4289](#4289)) ([84a8eda](84a8eda)) * **content-gifting:** custom article link expiration ([#4313](#4313)) ([c00f054](c00f054)) * listen to gforms events for newsletters ([#4312](#4312)) ([2f0e0e3](2f0e0e3)) * **my-account:** add "Product" column to the Subscriptions page ([#4323](#4323)) ([ba91e4c](ba91e4c))
|
🎉 This PR is included in version 6.26.0-alpha.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
# [6.27.0-alpha.1](v6.26.0...v6.27.0-alpha.1) (2025-12-02) ### Bug Fixes * **content-gifting:** ux tweaks and other fixes ([#4318](#4318)) ([952dd83](952dd83)) * **contrib-meter:** ensure percentage follows bar progress when using linear style ([#4320](#4320)) ([cbe8665](cbe8665)) * hide Content Gate CPT from WP Admin menu ([#4321](#4321)) ([70bbe7e](70bbe7e)) * make some Collections spacing more specific to archive pages ([#4293](#4293)) ([21daeaf](21daeaf)) * **media:** move default image UI to Advanced Settings ([#4296](#4296)) ([a22f06d](a22f06d)) * **modal-checkout:** prevent session reload after new customer account ([#4310](#4310)) ([89208fc](89208fc)) * **my-account:** add payment method query var ([#4325](#4325)) ([a7f2cb1](a7f2cb1)) * **my-account:** select font size ([#4324](#4324)) ([31a48c0](31a48c0)) * repeat button block styles in collections for WP 6.9 ([#4319](#4319)) ([6e3c5f8](6e3c5f8)) * **subscription-modal:** limited subscriptions ([#4309](#4309)) ([715f3c9](715f3c9)) ### Features * add autocomplete + token + multiselect component ([#4289](#4289)) ([84a8eda](84a8eda)) * **content-gifting:** custom article link expiration ([#4313](#4313)) ([c00f054](c00f054)) * listen to gforms events for newsletters ([#4312](#4312)) ([2f0e0e3](2f0e0e3)) * **my-account:** add "Product" column to the Subscriptions page ([#4323](#4323)) ([ba91e4c](ba91e4c))
|
🎉 This PR is included in version 6.27.0-alpha.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
# [6.27.0](v6.26.4...v6.27.0) (2025-12-08) ### Bug Fixes * **content-gifting:** ux tweaks and other fixes ([#4318](#4318)) ([952dd83](952dd83)) * **contrib-meter:** ensure percentage follows bar progress when using linear style ([#4320](#4320)) ([cbe8665](cbe8665)) * hide Content Gate CPT from WP Admin menu ([#4321](#4321)) ([70bbe7e](70bbe7e)) * make some Collections spacing more specific to archive pages ([#4293](#4293)) ([21daeaf](21daeaf)) * **media:** move default image UI to Advanced Settings ([#4296](#4296)) ([a22f06d](a22f06d)) * **modal-checkout:** prevent session reload after new customer account ([#4310](#4310)) ([89208fc](89208fc)) * **my-account:** add payment method query var ([#4325](#4325)) ([a7f2cb1](a7f2cb1)) * **my-account:** select font size ([#4324](#4324)) ([31a48c0](31a48c0)) * repeat button block styles in collections for WP 6.9 ([#4319](#4319)) ([6e3c5f8](6e3c5f8)) * **subscription-modal:** limited subscriptions ([#4309](#4309)) ([715f3c9](715f3c9)) ### Features * add autocomplete + token + multiselect component ([#4289](#4289)) ([84a8eda](84a8eda)) * **content-gifting:** custom article link expiration ([#4313](#4313)) ([c00f054](c00f054)) * listen to gforms events for newsletters ([#4312](#4312)) ([2f0e0e3](2f0e0e3)) * **my-account:** add "Product" column to the Subscriptions page ([#4323](#4323)) ([ba91e4c](ba91e4c))
|
🎉 This PR is included in version 6.27.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
All Submissions:
Changes proposed in this Pull Request:
NPPD-959
The subscription tier modal is currently restricting the purchase of any subscription that the reader already owns. This PR changes that behavior to check if the subscription is limited.
The warning notice should still render if not limited.
The subscription limit will also be automatically applied in the context of a grouped product.
How to test the changes in this Pull Request:
Other information: