You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In 9494579-zen we noted Shipstation was sending line item from subscription renewal (treating it non-virtual) when the merchant claimed all of their variations are virtual.
Investigation revealed the at some point in time the product was a simple virtual subscription which was then switched to a variable subscription. In WC Core - editing a variable product or variable subscription always sets the virtual status of the parent to "no". This explains why the product ID grabbed from line items was treated as non virtual
But the question is why was the user allowed to switch product type from simple to variable subscription.
It seems like there might be a JS issue on merchant's site which is stopping subscriptions plugin from disabling options in the product type dropdown.
We seem to have logic for preventing type switch in the background regardless the dropdown status - but we might need to enhance that.
Create a simple subscription product
Buy it
Edit the product and you'd see "The product type can not be changed because.." message in the type dropdown
Pretend that something on your site keeps dropdown options enabled - Edit HTML and remove disabled attribute from Variable subscription option
Change to Variable Subscription and start adding attributes etc, and variations
Click update and you'd be allowed to switch the product type.
The text was updated successfully, but these errors were encountered:
In 9494579-zen we noted Shipstation was sending line item from subscription renewal (treating it non-virtual) when the merchant claimed all of their variations are virtual.
Investigation revealed the at some point in time the product was a simple virtual subscription which was then switched to a variable subscription. In WC Core - editing a variable product or variable subscription always sets the virtual status of the parent to "no". This explains why the product ID grabbed from line items was treated as non virtual
But the question is why was the user allowed to switch product type from simple to variable subscription.
It seems like there might be a JS issue on merchant's site which is stopping subscriptions plugin from disabling options in the product type dropdown.
We seem to have logic for preventing type switch in the background regardless the dropdown status - but we might need to enhance that.
The text was updated successfully, but these errors were encountered: