=== Wexofy Frequently Bought Together for WooCommerce ===
Contributors: wexofy
Tags: frequently bought together, product bundles, cross-sell, bundle discount, upsell
Requires at least: 6.2
Tested up to: 7.1
Requires PHP: 7.4
WC requires at least: 8.0
WC tested up to: 9.9
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A "Frequently bought together" block on the product page: companion products, a combined price, an optional bundle discount and one-click add to cart.

== Description ==

Show shoppers what goes with the product they are looking at, and let them add the whole set in one click. Wexofy Frequently Bought Together adds the familiar block under the add-to-cart button.

**What you get**

* **Companion products per product** — pick them on the product's edit screen, under Product data → "Frequently bought together". Variations work too.
* **Live total** — checkboxes for each item; the total updates as the shopper ticks or unticks items.
* **Optional bundle discount** — a percentage or a fixed amount off the whole set, shown as "Buy together and save …" and applied in the cart as its own line while every item of the set is in the cart.
* **One click** — "Add selected to cart" adds every ticked item.
* **Your heading, size and position** — after the add-to-cart button, below the description or after the product meta; up to six products in the block.
* **Unavailable products are skipped** automatically.
* **Template override** — copy `templates/fbt.php` to `yourtheme/wexofy-frequently-bought-together-for-woocommerce/fbt.php`.
* **HPOS ready.**

**Want more?**

[Wexofy Smart Upsells Pro](https://wexofy.com/plugins/wx-smart-upsells/) is a separate add-on that adds category bundles (every product in a category gets its companions automatically), an order bump on the cart and checkout, a thank-you page offer with a personal coupon, rules for when offers show, and analytics with take rate and revenue per offer. This free plugin is complete on its own and does not need it.

Wexofy is not affiliated with or endorsed by WooCommerce or Automattic.

== Installation ==

1. Install and activate the plugin (WooCommerce must be active).
2. Edit a product → Product data → "Frequently bought together" → choose the companion products and, optionally, a bundle discount.
3. Optional: **WooCommerce → Bought together** to change the heading, the number of products and the position.

== Frequently Asked Questions ==

= When is the bundle discount applied? =

When the set is added with the block and while every item of it stays in the cart. It shows as its own "Bundle discount" line in the cart and checkout.

= Does it work with variable products? =

Pick a specific variation as a companion product. A variable main product needs its options chosen on the product page as usual.

= I used the earlier "Smart Upsells" plugin from Wexofy. Do I lose anything? =

No. Every product's bundle and your block settings are carried over, and the old plugin is switched off.

== Screenshots ==

1. The "Frequently bought together" block on a product page.

== Changelog ==

= 1.0.0 =
* First release on WordPress.org: per-product companion products, live total, optional bundle discount, one-click add to cart, heading / size / position settings.
