Skip to content

[Bug]: Does it make sense that the popularity is based on quantity and not just appearances #39

@loevgaard

Description

@loevgaard

Plugin version

master

Sylius version

1.12

What happened?

The PopularityDataMapper is basing the popularity metric on SUM(quantity), but what if a product was added 200 times to the cart on one order, then that would skew your expected results.

Shouldn't we just count the number of unique times a product appears?

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions