Automattic / woocommerce-subscriptions-core

Subscriptions core package for WooCommerce
Other
81 stars 29 forks source link

Issue creating variable subscription products with WooCommerce 7.9.0 #475

Closed mattallan closed 11 months ago

mattallan commented 11 months ago

Describe the bug

With WooCommerce 7.9.0, when you try to create a new variable subscription product, the "Used for variations" checkbox is disabled on the Product Attributes metabox which prevents the attributes from being used to later create variations:

image

Relevant changes in WooCommerce that caused this:

To Reproduce

  1. Install the latest WooCommerce 7.9.0
  2. Go to Products > Add New
  3. Choose "Variable Subscription"
  4. On the Attributes tab, notice the "Used for variations" checkbox is checked but disabled.
  5. Upon adding attributes and pressing update, the "Used for variations" checkbox is hidden
  6. Go to Variations tab and you will not be able to add any variations for the attributes you added previously.

Product impact

Additional context

thuautp commented 11 months ago

reported in 6549344-zen. I suggested them to downgrade to WC 7.8.2 until fix is released

kaushikasomaiya commented 11 months ago

@mattallan @james-allan I am seeing a strange behaviour also noted in 6566198-zen

On creating a variable subs product - it works fine however on pressing update button repeatedly without touching anything on the product data part - the "Used for variations" in attribute is unchecked automatically.

Video: https://d.pr/v/ZCtaOt

kaushikasomaiya commented 11 months ago

Created an issue here: https://github.com/Automattic/woocommerce-subscriptions-core/issues/480