You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which plugin/repository is the issue about?
Popularity Score plugin
Describe the bug
Parent collections should have the sum of their children's popularity score as their own score. Right now only leaf collections have a popularity score.
Expected behavior
Calculate popularity scores of all products (already works)
Find all collections without children, and calculate their scores based on the products in it
Get parents of collections and sum their scores
Traverse the parents until you end up at the root collections.
Environment
NodeJS version
Vendure version: 3.1.1
Plugin version 1.7.3
Database MySQL
The text was updated successfully, but these errors were encountered:
Which plugin/repository is the issue about?
Popularity Score plugin
Describe the bug
Parent collections should have the sum of their children's popularity score as their own score. Right now only leaf collections have a popularity score.
Expected behavior
Environment
The text was updated successfully, but these errors were encountered: