Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions documentation/build/discount-types-and-effects.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ Campaign Manager supports order discount, products discount, rewards, and free s
- **Free products**: Add missing order items to match total discount units count
- **Free products**: Always add new units items
- **Free products**: Add many order items
- **Free products**: Add same items as ordered
- **Upgrade bonus**: Replace order items
- **Free Shipping**
- **Free products**: Add missing order items to match total discount units count
Expand Down Expand Up @@ -370,6 +371,16 @@ For example, the code adds two free t-shirts:

This effect adds multiple items to the cart, each with a custom effect: either [Add missing order items to match total discount units count](#add-missing-order-items-to-match-total-discount-units-count) or [Always add new units items](#always-add-new-units-items).

### Add same items as ordered

This effect calculates the number of free units based on items in the cart.

Use it to reward selected products or product collections without defining each free item separately.

Voucherify checks which cart items match the discount configuration, calculates the number of free units, and applies them to the products selected in **Discounted products**.

The free units are not automatically assigned to the same items that triggered the calculation.

### Upgrade Bonus: Replace order items

This effect replaces one order item or an order item from a selected collection with another order item in the defined quantity per replaced unit.
Expand Down
28 changes: 28 additions & 0 deletions documentation/build/product-bundles.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,34 @@ All free products are multiplied by the number of bundles.

</Accordion>

### Free products: Add same items as ordered

**Free products: Add same items as ordered** calculates the number of free units based on items in the cart, and applies them to the products selected in **Discounted products**.

The free units are calculated per matching item in the cart, but they are not automatically assigned to those same items.

Use this option when you want to calculate free units from cart items while controlling exactly which products or collections receive the discount.

<Warning>
Be careful when using **Multiply discount by each bundle added** with broad product collections or high quantities — the number of free products can increase quickly.
</Warning>

<Accordion title="Free products: Add same items as ordered – example">

**Example:**

- **Bundled items:** Collection "T-Shirts", minimum quantity = 1
- **Discount type:** Free products → Add same items as ordered
- **Free units:** 1
- **Discounted products:** Collection "Socks"
- **Multiply discount by each bundle added**

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, but one improvement; this presupposes that Maximum number of eligible bundles is 3 or more.


**Result**:

A customer who adds 3 T-shirts to the cart gets 3 socks discounted as free, as long as **Maximum number of eligible bundles** is set to at least 3.

</Accordion>

### Upgrade bonus: Replace order items

**Upgrade bonus: Replace order items** replaces existing products with upgraded ones. The multiplication applies to both the added and removed items.
Expand Down
Loading