Subscription Management: Support Bundle Types #222
Comments
Working on deleting items first seems like the obvious place to start. Allowing deletions of PB/CP/MnM child items is technically a bug right now, so we need to sort this out first. Eventually, when SATT gets merged into WCS the deletions logic will probably need to be moved into the corresponding extensions. However, the editing/adding bit is more a "feature" than anything else and SATT could be a good place to keep it -- even long term. |
I agree that the deletion issue is a "bug" at the moment. I am half way through that: preventing child item deletion individually. Need more eyes on the parent deletes it's children (which is weird to write) process. |
Pushed 0f1babe -- UI tweak in working order: https://cl.ly/1i2a3a3S160Q Would rather prevent removal of child items application-wide, e.g. throw an exception with a helpful notice when trying to remove a child item directly via REST API, custom code, entering URL manually, or whatever. |
…ms in My Account > Subscription views ref: #222
See https://github.com/Prospress/woocommerce-subscriptions/issues/2423#issuecomment-349257237 We actually need hooks inside the
Later on I'd like to circle back to this and work on syncing removals/modifications at a deeper level, however:
I'm not sure if we should enforce something like this to other developers globally -- yes, it will be nice if we can use a lower-level hook to do this, but we'll need to cherry pick specific contexts where this behavior should be enforced (I'd vote for REST API removals/modifications). For now, I'd love to move on with both L2 and L3 here with what we have in WC / WCS -- and if that proves insufficient, see if we can make tiny meaningful additions that we can roll out in a WCS fix release. |
Re-grouping after chatting to @thenbrent -- The final solution will utilize the hooks that will be built for https://github.com/Prospress/woocommerce-subscriptions/issues/2224 In the meanwhile, I'm scoping what's needed for L3 here -- and working on #233 as an interim step to understand how sub switching works. We'll likely bump onto more issues there. |
After scoping this one and starting work here, I think it makes sense to break this up in 3 parts based on the L1/L2/L3 definitions. This will allow us to assign the different "levels" to milestones. Let's see how many of those we can confidently add to the |
Sub-Tasks
#238
#240
#241
Description
Initially filed as a pair of long-term tasks in https://github.com/Prospress/woocommerce-subscribe-all-the-things/wiki/Roadmap
To make this a bit clearer, here's a breakdown into Tasks:
Level 1 - Deleting Content -- #238
Add support for grouped Product Types:
Level 2 - Adding Content -- #240
Still at the design stage. Will need to be done for core types before looking into a bundle-types implementation. See #239.
I think the best place to do it would be in the single-product page itself. Depending on the billing details of the chosen scheme, we could populate a list of Subscriptions and let the user add the product to one of them. Later on, this could be done in the cart page as well, when the user is now prompted to choose a cart subscription. All ideas welcome :)
Level 3 - Editing Content (Switching) -- #241
Add support for grouped Product Types:
It's not clear to me yet exactly what should happen when new items are added to a subscription object, but my impression is that in some cases no extra steps should be necessary to "complete" this, e.g. an order. Need to look into WCS switching in detail.
CC @thenbrent @helgatheviking
The text was updated successfully, but these errors were encountered: