Pack sizes: 2-packs, 3-packs and the lowest unit price
Recognize and assign multipacks of a product, show the lowest unit price per pack size and display a tab per size in the price comparison.
A double or triple pack is not a product of its own, but an offer of the single product with a quantity. affilinode recognizes multipacks by details such as "3-pack", "triple pack", "Set of 3", "Multipack (3 x …)", "value pack 4 pieces", "x3" at the end of the title or "lot de 3" – cautiously: "4x HDMI", "100 cable ties", "3-zone" or "2-in-1" don't count. A product's best price is always the price for one piece.
In the dashboard
- Product → Offers shows the pack sizes per country: per size the cheapest available offer with unit price, saving per piece and the best unit price.
- For each offer the quantity can be changed (column "Quantity / assignment"). A changed quantity stays fixed, even if the shop words the title differently later.
- Packs from "Import product" and the shortcode generator are assigned automatically as an offer of the single product if it clearly fits – otherwise you decide under "Selection needed".
"Pack sizes" box
[affilinode_packs id="123"]
[affilinode_packs id="123" sort="unit" only_available="1"]
[affilinode_product id="123" packs_box="1"]
- Per pack size (single, 2-pack, 3-pack …) the cheapest buyable offer with total price, unit price (incl. shipping where known – otherwise "plus shipping"), saving per piece compared with the cheapest single piece in € and %, shop and button. The best unit price is highlighted.
- sort = quantity (quantity, default) or unit (unit price), only_available = 1 hides sizes without an available offer, title (empty = "Pack sizes", 0 = no heading), heading = 3, tracking.
- In the block editor the block is called "Pack sizes"; it is also available in Elementor and in the shortcode generator. Below product boxes: the setting "Show pack sizes below product boxes" (off by default) or packs_box="1" or "0" per box.
- Prices come from the offers as everywhere (Amazon prices only from the API, at most 24 hours old); there are no price histories. Clicks count in the reports as box type "Pack sizes".
In the price comparison
[affilinode_offers id="123" packs="tabs"]
[affilinode_offers id="123" packs="hint"]
[affilinode_product id="123" packs="hint"]
- packs="tabs": tabs "Single", "2-pack", "3-pack" … ("Single" preselected, operable with the arrow keys); without JavaScript and on AMP pages the sizes appear as sections one below the other.
- packs="hint" (also in product boxes): note "In the 3-pack, one piece costs €4.99 – €1.20 (19 %) less than single" – only with a real saving and only from available offers. You set the threshold (default 3 %) in the plugin under "Appearance".
- For all boxes: the setting "Pack sizes in the price comparison" = off (default), note only, or tabs + note; packs="off" switches off per box.
- Ghost, Discourse and directly embedded boxes understand the same shortcodes or data-packs="hint|tabs" and data-affilinode="packs" (see "Embed product boxes without WordPress").