When mixed checkout is disabled, and a subscription is in the cart when another product type is added, the customer is provided with a notice A subscription has been removed from your cart. Products and subscriptions can not be purchased at the same time.
But when a subscription is added to the cart that already contains another product, no notice is provided.
Note the related issue does prevent testing with Ajax Add to Cart enabled. However, the code does appear to skip a notice in the case where the first time added is a product and the second a subscription
Disable mixed checkout
Add a simple product to the cart
Add a subscription to the cart
See first product is removed without a notice to the customer
Expected behavior
The behaviour should match the case where a subscription exists in the cart and another product is added after.
Actual behavior
No user feedback is provided on why the item suddenly disappears from the cart
Product impact
[ x] Does this issue affect WooCommerce Subscriptions?
Describe the bug
When mixed checkout is disabled, and a subscription is in the cart when another product type is added, the customer is provided with a notice
A subscription has been removed from your cart. Products and subscriptions can not be purchased at the same time.
But when a subscription is added to the cart that already contains another product, no notice is provided.
Related: https://github.com/Automattic/woocommerce-subscriptions-core/issues/130
To Reproduce
Note the related issue does prevent testing with Ajax Add to Cart enabled. However, the code does appear to skip a notice in the case where the first time added is a product and the second a subscription
Expected behavior
The behaviour should match the case where a subscription exists in the cart and another product is added after.
Actual behavior
No user feedback is provided on why the item suddenly disappears from the cart
Product impact
Additional context
7623733-zd-a8c