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

Warning when deleting attributes included in products query/facets #215

Open
A-Kold opened this issue Jan 7, 2025 · 1 comment
Open

Comments

@A-Kold
Copy link

A-Kold commented Jan 7, 2025

Is your feature request related to a problem? Please describe.
When a customer deletes an attribute we would like a warning in cases where the attributes is specifically used in a query for frontend. The reason is that if an attribute is a part of that, the frontend will break.

Describe the solution you'd like
settings --> Ecommerce --> Product catalog --> productfields (or category fields)
When wanting to delete attributes there are no warning/indication that the attribute is used as either filter, or specifically in the query showing the products. This can lead to attributes being deleted that are still a part of the productsquery or a facet which will make the frontend crash.

Describe alternatives you've considered
An indication on the attribute that it is used in Facets, or the productsquery.
Alternatively a warning that shows where the attributes is used in a Productsquery or Facets.

@nicped
Copy link
Member

nicped commented Jan 7, 2025

If the frontend breaks when an attribute is missing, it is a bug. It should not fail, just be ignored. I think we have fixed that actually in some recent release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants