YITH WooCommerce Subscription
If you want to set a new membership with a subscription plan, you have to follow the same configuration process described in this page, but pay attention to the set duration.It is suggested to set to 0 its value, in order to benefit from the perfect interaction between the two plugins. In this way, the subscription plugin will manage the status of the membership following those already configured.The price of the product used for the membership must be configured as expected for the YITH WooCommerce Subscription plugin.For further information about the correct configuration of a subscription plan linked to a membership, please read the official guide of YITH WooCommerce Subscription.As we have already said, status changes of the membership can be managed automatically by YITH WooCommerce Subscription: in this way, when the subscription plan changes, the status of the linked membership will change automatically too.
In the following table you can see the correspondence between the statuses of the two plugins, so that you can understand better which statuses the membership can have following the status of the subscription.
|Subscription status||Membership status|
|active||active or resumed|
|cancelled||cancelled or expiring|
When the subscription is cancelled automatically by the system (e.g., a failed payment), memberships get the cancelledstatus. If administrators or users decide to cancel on purpose a subscription plan, the membership will get the “expiring”status, and its expiration date will be the same of the subscription’s one. In this way, memberships will get the “cancelled” status the same day in which the subscription plan will have it too.
Pay attention when you delete a subscription plan from the system: if this is linked to a membership of the shop, the membership will get “cancelled” status.