-
Notifications
You must be signed in to change notification settings - Fork 110
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
WC: fix attribute edit page hidden fields #1161
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK this looks better, but when we edit a product attribute, we just get one slug field.
Shouldn't we have all the set of QTS slugs for each language?
Shouldn't that |
This seems to work:
|
Oh but we have the LSB switch buttons, that's a bit confusing having the list + switches. But I don't know how this is supposed to work, I haven't really tested it yet. |
Support for multi slugs seems was missing for this page.
LSB is only working for Name field, not for slugs here or in any other page. This needs to be implemented, but it's a big change in slugs module, it will need time to figure out and test. It's a 'to do' for next releases. |
I've rewritten a bit the functions to clarify the signatures. I'm afraid this doesn't work as expected for the WP attributes.
We need the term ID to retrieve the values from the meta, but I don't know if this also applies to WP product attributes (where are they stored?). Related to this, the |
Imo if we can't find a fix, better hide the language slugs until a solution is found. |
Also note that add_form_fields action sends a |
Yes it seems this is not applicable for custom taxonomies base slugs. |
Display the set of QTS slugs when editing (or adding) a WC product attribute.
Hide the regular slug.