#86c8wb432 - Adjusted the provision of ratings in the listing
1. Why is this change necessary?
Bug fix. Explaining of functions:
- first option is self expalining
- limit now works for the quantity for product not for the full query
- if limit is active, the average is built from the loaded reviews, not from all
2. What does this change do, exactly?
- revampted full subscirber
- limit works now for
3. Describe each step to reproduce the issue or behavior.
- install plugin (no need to build!!!)
- create 4 reviews -> 2 for product X and 2 for product Y -> both should be variants -> create reviews for different variants like X.1 and X.2 and same for Y
- use config for limit or avarage
- place limit at 1 and check if 1 review was loaded for each product
- for testing you can do a dump(new ProductReviewStruct($reviews, $average)); in line 108 or use the updated manual from 6.7 MR !40
4. Please link to the relevant issues (if any).
https://app.clickup.com/t/86c8wb432
5. Checklist
-
I have updated the plugin version and changelog -
I have updated the manual / created a manual update merge request -
I have updated the shopware store information -
I can confirm the code style fits our requirements -
I can confirm that no debug output is generated anywhere