vuestorefront / vsf-capybara

Capybara is a Storefront UI based theme for Vue Storefront. Always Open Source, MIT license. Made with :green_heart: by Vue Storefront.
https://capybara.storefrontcloud.io/
MIT License
154 stars 84 forks source link

[Bug] Rating on product listing page does not mach rating on product page #387

Open akrajna opened 4 years ago

akrajna commented 4 years ago

Current behavior

On product listing page all items are rated the same - 5 stars even if the product rating on product card is different.

Expected behavior

The product rating on the product list page should be the same as the rating for this product on the product page.

Steps to reproduce the issue

  1. go to any category page
  2. choose one product
  3. check the number of stars it has and click on it
  4. check the number of stars it has
  5. see the error

Can you handle fixing this bug by yourself?

Environment details

https://capybara.storefrontcloud.io/

Additional information

stars

gibkigonzo commented 4 years ago

related https://github.com/DivanteLtd/vsf-capybara/issues/27 stars values are hardcoded, that is why it looks different. TODO:

ArieRym commented 4 years ago

@gibkigonzo Do not quite understand, will they be shown correctly or will they be false, not relevant? Or i need to install the plugin magento2-review-api to solve the problem?

gibkigonzo commented 4 years ago

@ArieRym if you want to have reviews then yes you need to install this plugin. But rating is not added to payload