The cart and checkout page will demand a shipping method when trying to resubscribe to a virtual/downloadable Simple Subscription product if it was changed to a virtual/downloable Variable Subscription product since the original subscription was canceled.
To Reproduce
Create a Simple subscription product.
Example, 60 per month (doesn't matter)
Be sure to check Virtual and set Product Data > Advanced > Limit subscriptions : Limit to one active
Publish
Subscribe to the Simple subscription.
Cancel the subscription, making sure it's also canceled on the admin side and not "Pending cancellation", so the subscriber has the option to Resubscribe and notResume.
Go back to the product and change it to a Variable subscription.
Add an attribute and variation. Mark the variation as Virtual as well, as it's still a virtual product.
Update.
Head back to the subscriber's view of their subscription, and click to Resubscribe
Notice the cart and checkout page now has a shipping section, which is unexpected. Also, if no methods are configured, checkout is not possible.
Expected behavior
As both the Simple version and the Variable version of the Subscription product is virtual, the expectation would be that shipping wouldn't be involved.
Actual behavior
A shipping method is demanded when trying to resubscribe.
Renewals of active subscriptions are not affected, it appears to just be the resubscription checkout process.
Product impact
[x] Does this issue affect WooCommerce Subscriptions? yes, 5937594-zen
[ ] Does this issue affect WooCommerce Payments? unsure, tested with standalone Subs + Stripe
Additional context
Simple subscription setup, showing only non-default settings:
After subscribing, cancel as customer and as admin so that the customer sees this in My Account > Subscriptions:
Change the Simple subscription product to a Variable Subscription product:
Then, as the customer, click the Resubscribe button to see the cart and checkout pages demanding a shipping method. On the test site, no methods are available, otherwise configured shipping methods are displayed as usual:
Describe the bug
The cart and checkout page will demand a shipping method when trying to resubscribe to a virtual/downloadable Simple Subscription product if it was changed to a virtual/downloable Variable Subscription product since the original subscription was canceled.
To Reproduce
Notice the cart and checkout page now has a shipping section, which is unexpected. Also, if no methods are configured, checkout is not possible.
Expected behavior
As both the Simple version and the Variable version of the Subscription product is virtual, the expectation would be that shipping wouldn't be involved.
Actual behavior
A shipping method is demanded when trying to resubscribe. Renewals of active subscriptions are not affected, it appears to just be the resubscription checkout process.
Product impact
Additional context
Simple subscription setup, showing only non-default settings:
After subscribing, cancel as customer and as admin so that the customer sees this in My Account > Subscriptions:
Change the Simple subscription product to a Variable Subscription product:
Then, as the customer, click the Resubscribe button to see the cart and checkout pages demanding a shipping method. On the test site, no methods are available, otherwise configured shipping methods are displayed as usual: