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

[sku-selector] Decide whether SKU fields with a single value are displayed or not #1007

Open
ivanlopezluna opened this issue Jan 20, 2022 · 0 comments

Comments

@ivanlopezluna
Copy link

Is your feature request related to a problem? Please describe.
When the SKU fields in a product only have one possible value, it doesn't make sense to display the field in the SKU selector because the user will have no options to choose from and in some scenarios this is annoying for the user because they see multiple SKU fields with unique values.

Describe the solution you'd like
Having some prop that allows to decide whether or not the SKU selector should show the fields that only have a single value, so it will be possible to make a different decision in each VTEX store.

Describe alternatives you've considered
Add a CSS Handle that allows identifying the number of values that each SKU field has according to the selected product so that it is possible to customize them through CSS.

Additional context
Consider that the SKU fields with a single value are automatically selected and for this reason in some examples like the one we share it is not useful to show all the SKU fields that the product has.
Screenshot_20220120-160307

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

1 participant