Rewards & free productsRewards
  1. Home
  2. Examples
  3. First order gift

Miriam's new customers get a gift with their first order.

Miriam sells loose-leaf tea. Whoever orders from her for the first time picks a tea caddy from €25 of goods or takes a 10% new customer discount. Returning customers see none of it, and nobody needs a voucher code: a rule recognises the first order.

The setup in the admin.

One group, two rewards, one rule on the group. The rule "New customers" checks the quantity of completed orders and therefore applies to both rewards at once. Both carry the same threshold of €25, so the bar forms a single tier, and in the default mode the customer takes one of the two.

For your first orderMarketing › Cart Rewards

GeneralRewards

RewardsAdd reward

Position Name Type Cart value Active Rule
1 Tea caddy for new customers Product €25.00 No rule …
2 10% new customer discount Discount €25.00 No rule …

Tab "General": rule "New customers".

  1. Open Settings › Rule Builder, click "Create rule" and create the rule "New customers" with the condition "Quantity of completed orders", the operator "Is equal to" and the value 0.

  2. Open Marketing › Cart Rewards and click "Add reward group".

  3. Enter "For your first order" as the name and pick the rule "New customers" under "Rule Builder rule".

  4. Switch to the "Rewards" tab and create the two rewards with "Add reward".

  5. Create the tea caddy with the type "Product" and the discount with the type "Discount", the discount type "Percentage" and 10. Both get €25 as the minimum cart value.

RuleRule Builder

  • Quantity of completed ordersIs equal to0

Group For your first order

All fields of a reward group

What the customer sees in the cart.

For your first orderShopping cart

First order only, from €25 of goods.

  1. €0.00
  2. €25.00

All gifts unlocked

Free

Tinplate tea caddy

Choose gift

Discount

10% new customer discountoff your cart

Save 10%

At €38.50 of goods, logged in and without a completed order yet.

  • No login, no group

    As long as nobody is logged in, there are no orders to count and the rule does not match. The group appears as soon as the customer logs in or enters their address as a guest during checkout.

  • Caddy or discount

    Both tiles are unlocked. In the default mode the customer takes one of them; a click on the other swaps it. The discount button names its value: "Save 10%".

  • The caddy is a real item

    In the cart it shows at €0.00 and without a quantity field, in the order with its product number. Its stock drops by one.

  • A returning customer logs in

    If someone who already has a completed order logs in at the cart, the rule no longer matches. The caddy disappears with this notice, the order itself goes on.

When a reward disappears again

When someone counts as a new customer.

The condition reads a counter on the customer account. Shopware only counts orders with the status "Done" there and recalculates as soon as an order gains or loses this status or is deleted. This is how a new customer of Miriam's sees the group in their first weeks:

Point in time Quantity of completed orders Group in the cart
Browsing the shop, not logged innothing to countnot visible
Logged in, or a guest with an address0visible: tea caddy or 10%
First order "Open" or "In progress"0still visible
First order set to "Done"1no longer visible
Completed order reopened0visible again

And which choice pays off for the customer? At €38.50 of goods, 10% is exactly €3.85, while the tea caddy costs €6.90 in the shop. Only above €69.00 of goods is the discount worth more than the caddy. It is calculated on all purchased items, without shipping.

The settings for it.

Two plugin settings and one field on the group. The settings apply per sales channel.

  • Selection mode

    Technical name selectionModeValue One reward per group

    Stays at the default. Caddy and discount sit in one group, so the customer gets one of the two, never both.

  • Automatic reward selection

    Technical name autoAddValue Only the first reached reward

    The tiles sit in the cart. Whoever only logs in during checkout or enters their address there as a guest does not see them. The automation then adds the reward with the lower position by itself, here the tea caddy; in the cart it can be swapped for the discount.

  • Rule Builder rule (group)

    Card VisibilityValue New customers

    On the group the rule applies to both rewards. If it does not match, the whole group is missing, and a reward already in the cart disappears with the next calculation of the cart.

All settings in the manual

What matters here.

The rule reads a counter that Shopware keeps on the customer account: the number of orders with the status "Done". A first order that is still open or in progress does not count; whoever orders a second time during that period sees the group again. Only when Miriam sets the first order to "Done" does the counter rise to 1, and the group is gone.

Which of this the Shopware standard does on its own

Frequently asked questions about first order gifts

How do I set up a first order gift in Shopware?
With a rule and a reward group. In the Rule Builder you create a rule with the condition "Quantity of completed orders", "Is equal to" and 0. You pick this rule on the group under "Rule Builder rule" and create the rewards inside it: a product, a discount or both.
Does a new customer discount work without a plugin?
A plain discount does: a promotion under Marketing › Promotions can use the same rule. But a promotion puts no product into the cart and offers no choice. If the new customer is to choose between a gift and a discount, it takes the reward group.
Does a guest get the first order gift as well?
Yes, as soon as they have entered their address during checkout. Then the cart has a customer whose completed orders the rule can count. Before that nobody is logged in, and the group stays hidden.
When does someone stop being a new customer?
As soon as their first order has the status "Done". Open orders and orders in progress do not count; until then the customer sees the group with a second order as well.
What happens when a returning customer logs in?
Then the rule no longer matches. A reward that is already in the cart disappears with the next calculation, and the cart reports that the gift is no longer available.
Do new customers need a voucher code?
No. The group appears by itself as soon as the rule matches and the goods value reaches €25. If you also send a welcome code by newsletter, you do that with a promotion; both run side by side.
Can returning customers be rewarded this way too?
Yes, with the same condition and a different value: "Is greater than / equal to" and 1 shows the group only to customers with at least one completed order. For tiers by revenue there is the condition "Total value of completed (done) orders".

The other setups.

Welcome gift

Without a minimum order value: whoever reaches the cart may pick something.

First order gift

A tea caddy or a 10% new customer discount, first order only.

Loyalty tiers

Three tiers up to €1,000, each with a more valuable gift.

Discount tiers

Discounts only, percentage and fixed mixed, from €150.

Free samples

One free sample of choice per tier reached, from €25.

Free accessory

The milk jug only with the espresso machine, the rule sits on the reward.

Black Friday

A four-day campaign, limited by the date range in the Rule Builder.

Ready to let your cart hand out rewards?

Put a product into the cart in the demo shop and watch the gifts appear. Or try it in your own shop.

Open the demo shop View in the store