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

[FEATURE] use displayType for rendering selection of product variants #1941

Open
webisdead opened this issue Aug 22, 2022 · 0 comments
Open

Comments

@webisdead
Copy link
Contributor

webisdead commented Aug 22, 2022

Description

In the SW6 Admin there's the option "Value display type" on product properties whose selection results in a different view of the variant selection on a detail page. Shopware-pwa only renders a dropdown.

Bildschirmfoto 2022-08-22 um 10 57 55

Admin:
Bildschirmfoto 2022-08-22 um 10 38 50

Shopware default Frontend:
Bildschirmfoto 2022-08-22 um 10 40 29

Things to know

shopware-pwa already gets the information about displayType via getOptionGroups in useProductConfigurator.
Bildschirmfoto 2022-08-22 um 10 47 48

Acceptance criteria

  • [ value "text" will get rendered as clickable element ]
  • [ product variant changes when clicking the element ]
  • [ a selected state is visible ]
  • [ optional: all other values "colour" and "image" get rendered ]
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