Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WooCommerce 7.6 and 7.7: Save Attributes button not visible when adding 2 attributes when more than 20 global attributes exist #38266

Closed
5 tasks done
mattsherman opened this issue May 11, 2023 · 3 comments
Assignees
Labels
focus: product Issues related to product or product page. type: bug The issue is a confirmed bug.

Comments

@mattsherman
Copy link
Contributor

mattsherman commented May 11, 2023

Prerequisites

  • I have carried out troubleshooting steps and I believe I have found a bug.
  • I have searched for similar bugs in both open and closed issues and cannot find a duplicate.

Describe the bug

In WooCommerce 7.6 and 7.7 (not 7.8), if there are more than 20 global attributes in the system, when 2 attributes are added to a new product, the "Save Attributes" button disappears.

1 attribute added ("Save Attribute" visible):

Screenshot 2023-05-11 at 19 16 59

2 attributes added ("Save Attribute" missing):

Screenshot 2023-05-11 at 19 14 41

3 attributes added ("Save Attributes" re-appears):

Screenshot 2023-05-11 at 19 14 51

2 attributes (last attribute removed; "Save Attributes" stays visible):

Screenshot 2023-05-11 at 19 15 02

Expected behavior

The "Save Attributes" button is visible.

Actual behavior

The "Save Attributes" button is not visible.

Note: Adding a 3rd attribute, and then removing that attribute is a workaround.

Steps to reproduce

  1. Add at least 20 global attributes to the system
  2. Go to Products > Add New
  3. Change to Variable product type
  4. Go to Attributes tab
  5. Add existing attribute
  6. Add another existing attribute
  7. Notice that Save attributes button disappears (and empty state reappears at the top of the list)

WordPress Environment

n/a

Isolating the problem

  • I have deactivated other plugins and confirmed this bug occurs when only WooCommerce plugin is active.
  • This bug happens with a default WordPress theme active, or Storefront.
  • I can reproduce this bug consistently using the steps above.
@mattsherman mattsherman added type: bug The issue is a confirmed bug. focus: product Issues related to product or product page. labels May 11, 2023
@mattsherman mattsherman self-assigned this May 11, 2023
@mattsherman
Copy link
Contributor Author

6279797-zen

@mattsherman
Copy link
Contributor Author

Note: This issue does not exist in WooCommerce 7.8, as the UI was changed and the bug no longer exists there (#38126)

@mattsherman mattsherman changed the title Save Attributes button not visible when adding 2 attributes when 20 or more global attributes exist WooCommerce 7.7: Save Attributes button not visible when adding 2 attributes when 20 or more global attributes exist May 11, 2023
@mattsherman mattsherman changed the title WooCommerce 7.7: Save Attributes button not visible when adding 2 attributes when 20 or more global attributes exist WooCommerce 7.7: Save Attributes button not visible when adding 2 attributes when more than 20 global attributes exist May 12, 2023
@mattsherman mattsherman changed the title WooCommerce 7.7: Save Attributes button not visible when adding 2 attributes when more than 20 global attributes exist WooCommerce 7.6 and 7.7: Save Attributes button not visible when adding 2 attributes when more than 20 global attributes exist May 12, 2023
@mattsherman
Copy link
Contributor Author

Closing this issue as it will be addressed in WooCommerce 7.8 (due to further UX improvements in this area that happened to also address this bug).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
focus: product Issues related to product or product page. type: bug The issue is a confirmed bug.
Projects
None yet
Development

No branches or pull requests

1 participant