craftcms / commerce

Fully integrated ecommerce for Craft CMS.
https://craftcms.com/commerce
Other
215 stars 169 forks source link

[4.6]: Disabled variant is unable to be re-enabled. #3555

Closed aaronrobb closed 1 week ago

aaronrobb commented 1 week ago

What happened?

Description

After disabling a variant in the CMS admin, it gets greyed out and not clickable. But when we want to re-enable it, there is no way to do it since its fully unclickable.

Steps to reproduce

  1. Create variants under a product
  2. Disable one variant via the gear icon on that variant
  3. Variant block becomes disabled, greyed out and not clickable.

Expected behavior

A disabled variant should be able to be re-enabled when needed.

Actual behavior

Unclickable, greyed out variant block.

Screenshot 2024-06-24 at 10 30 26 AM

Craft CMS version

Craft Pro 4.9.4

Craft Commerce version

4.6

PHP version

8.3.7

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

-

linear[bot] commented 1 week ago

PT-1887 [4.6]: Disabled variant is unable to be re-enabled.

lukeholder commented 1 week ago

Hi, thanks for reporting. Can you confirm this is happening the lastest 4.x versions of Craft and Commerce? I just tried it and couldn't reproduce on the latest 4.x

philipboomy commented 1 week ago

I am on 4.6.2 and my disabled variants are not greyed out and I have the red dot. I can enable without issues.

aaronrobb commented 1 week ago

I can confirm that updating to 4.6.2 is where the variant works again.

lukeholder commented 1 week ago

This should be fixed by updating to the latest 4.x release. Thanks.