Getting started
Ta treść nie jest jeszcze dostępna w Twoim języku.
Pair works as soon as WooCommerce is active. The defaults are intentionally useful: recommendations enabled, product-page and cart blocks on, three products, three columns, same-category matching and in-stock products only.
Before you start
Section titled “Before you start”- WordPress 6.5 or newer
- WooCommerce 8.0 or newer
- PHP 8.1 or newer
With WooCommerce inactive, Pair shows an admin notice and registers no storefront hooks.
Install
Section titled “Install”- Install WooCommerce and make sure it is active.
- Install Plogins Pair from the plugin directory when it is live, or upload the
plogins-pairfolder to/wp-content/plugins/. - Activate it.
- Open WooCommerce → Pair recommendations.
Enable the blocks
Section titled “Enable the blocks”On the settings screen:
- Keep Enable recommendations checked.
- Keep On the single product page checked for the You may also like block.
- Keep Under the cart checked for cart recommendations.
- Pick a strategy for each block: same category, shared tags, best sellers, newest products or recently viewed.
- Leave Only recommend products that are in stock checked unless you want to show unavailable products.
- Save changes.
Open a product page with products in the same category. The block appears after the product summary. Add a product to the cart and open the cart to verify the cart recommendations.
Tune the grid
Section titled “Tune the grid”The two main display controls are:
- Number of products, from 1 to 12.
- Columns, from 1 to 6.
Most stores should start with 3 or 4 products. More than that can push the main buying path too far down the page.
Manual placement
Section titled “Manual placement”Use the shortcode when you want to place the block yourself:
[pair_recommendations][pair_recommendations strategy="tags" count="4" columns="4"][pair_recently_viewed count="4" columns="4"]On a product page, [pair_recommendations] uses the current product. Elsewhere it uses the current cart contents. strategy accepts related, tags, bestsellers, newest or recently.