How does the plugin know that scarf and hat belong together?
It counts how often two products were in the same order and compares that with the chance of this shop. A pair becomes a suggestion when it was bought together at least three times and, with 99 % certainty, at least twice as often as by chance. It reads the orders of the last twelve months, without cancellations and without products already bought in a bundle. The calculation runs as a scheduled task, every 4 hours by default, or with "Recalculate now".
The window "Review suggestion" opens from the list "Order suggestions". On the far left the evidence: 27 orders together, 6 times as often as by chance.
Why this suggestion? says it in one sentence: "Knitted hat Ålesund was in 27 of 180 orders of the product Wool scarf Ålesund, 6 times as often as by chance."
The sales of the period per product with orders, revenue and stock; in the column "Together" the hat shows 15 %: that many orders of the scarf held it as well.
How often is chance?
- Orders with the scarf
- 180
- Orders with the hat
- 150
- All orders
- 6,000
- Expected: 180 × 150 ÷ 6,000
- 4.5
- Bought together
- 27
Is it more than chance?
- Lift: 27 ÷ 4.5
- 6.0
- Lower bound at 99 %
- 3.64
- Required
- at least 2
- Result
- suggestion
The lower bound protects against lucky hits: had only 12 orders held both, the lift would be 2.7, but the bound 1.20, and the pair would not become a suggestion. How the calculation runs is described under Suggestions from orders.