vuestorefront / shopware-pwa

Shopware PWA for eCommerce. Headless storefront solution for Shopware 6, which communicates through the SalesChannel-API. Always Open Source, MIT license. Made with :blue_heart: by shopware AG & Vue Storefront.
https://frontends.shopware.com
MIT License
346 stars 103 forks source link

[BUG] Issue with duplicate filter options #599

Closed brianantonelli closed 4 years ago

brianantonelli commented 4 years ago

If the same filter option exists within two filters, when checking the option in the second filter it will be selected in the first filter instead.

Steps to Reproduce:

SW Admin Console

  1. Create a property called: "One" with options: "Foo", "Bar", "Baz"
  2. Create a property called "Two" with options: "Foo", "Bar", "Baz"
  3. Apply property/option for "One" and "Two" to a product

PWA Instance

  1. Click Filters
  2. Click "Foo" under "Two" and "Foo" will be selected under "One"
mkucmus commented 4 years ago

The issue seems to disappear after one of storefront-ui upgrades. On the request layer, the option values are fine as well - so UI and client layer works fine. @brianantonelli have you tried to update shopware-pwa instance?

tested on shopware-pwa.storefrontcloud.io instance.

recorded video: https://drive.google.com/file/d/1tIbQ7pHN7Fr9GtF5lY6sJuv7DyHCc7Dz/view?usp=sharing

patzick commented 4 years ago

closing as probably already resolved :) @brianantonelli please let us know if you have problems after update