Bought together
ps_get_bought_together
Shows which products customers buy in the same order, without customer data.
TellMyShop Free: Yes. This tool is in TellMyShop Free, which costs nothing. It only reads your store and never changes anything.
Ask Claude
„What do customers buy together with the Oslo sofa? Show the last six months.”
Example answer
Sofa Oslo 3-seat (id:12): Cushion set Nord (id:31) in 9 shared orders, 32.1% of the sofa's orders, not related yet. Throw Hygge (id:44): 6 orders, 21.4%, already related.
Technical details
Pairs of products bought in the same valid order in the last N days (default 180): number of shared orders and what share of the main product's orders that is. Only valid (paid) order states, no customer data; pairs with fewer than min_orders shared orders are skipped. Give a product to see what is bought with it, or a category for main products from that category. The "already related" column shows the current related products. Used before ps_set_related_products.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| product | string | no | Main product (id:123, ref:ABC-1, ean:..., product URL, ID, EAN or reference). Max 300 characters. |
| category_id | integer | no | Main products from this category (with subcategories). |
| days | integer | no | Last N days. Range 7 to 730, default 180. |
| min_orders | integer | no | Minimum number of shared orders for a pair. Range 1 to 100, default 2. |
| per_product | integer | no | How many pairs to show for one main product. Range 1 to 20, default 5. |
| shop_id | integer | no | Shop ID in a multistore installation. Defaults to the shop in the connector address. IDs are listed by ps_get_shop_info. |
| limit | integer | no | Maximum main products (default 20, max 100). |
| offset | integer | no | Main products to skip, for paging (default 0). |
Limits
Period 7 to 730 days. Max 100 main products per call, up to 20 pairs each. Only valid orders of the shop; no customer data in the result. With no valid orders in the period the result says so.
Related tools
- Set related products ps_set_related_products
- Product sales ps_get_product_sales
- Get product ps_get_product
Last updated: 2026-10-11