Pairly documentation
Pairly – Frequently Bought Together for WooCommerce. Version 1.0.2, requires WordPress 6.2 and PHP 7.4+.
Installation
- Upload the plugin through Plugins → Add New → Upload Plugin, or install it from the plugin directory.
- Activate it and adjust the options under WooCommerce → Bought together.
- Optional: pick products by hand in the “Bought together” tab of any product.
Placement and shortcodes
Show the block below the product summary, under the add to cart button, or anywhere with a shortcode.
| Shortcode | What it does |
|---|---|
[pairly] | Block for the current product |
[pairly id="123"] | Block for a specific product on other pages |
For developers
- Filter pairly_auto_ids to change the automatic suggestions.
- CSS custom properties such as --pairly-accent and --pairly-radius.
FAQ
Does it add discounts?
No. Products are added at their regular price, so your margins stay as they are.
Where does the brand matching come from?
From the Brands taxonomy built into WooCommerce (product_brand). If your store does not use brands, choose “Same category”.
Does it work with page caching?
Yes. The block is the same for every visitor, and adding to the cart uses a request that is never cached.
Still stuck? Contact support or read the Pairly changelog.