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

[Products] Improve the logic of handling tags to avoid re-creating the existing ones #14555

Open
hichamboushaba opened this issue Nov 28, 2024 · 1 comment
Labels
feature: product details Related to adding or editing products, including Product Settings. priority: low Not many people are affected or there’s a workaround, etc. type: enhancement A request for an enhancement.

Comments

@hichamboushaba
Copy link
Member

hichamboushaba commented Nov 28, 2024

Currently, when the user selects some tags and saves them, the app will always call POST /wc/v3/products/tags/batch to create them, even when the selected tags already exist, we need to update the logic only to create the new ones, which should make the experience snappier when the user selects only existing tags from the autocomplete field.

@hichamboushaba hichamboushaba added feature: product details Related to adding or editing products, including Product Settings. priority: low Not many people are affected or there’s a workaround, etc. type: enhancement A request for an enhancement. labels Nov 28, 2024
@dangermattic
Copy link
Collaborator

Thanks for reporting! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature: product details Related to adding or editing products, including Product Settings. priority: low Not many people are affected or there’s a workaround, etc. type: enhancement A request for an enhancement.
Projects
None yet
Development

No branches or pull requests

2 participants