Rewards & free productsRewards
  1. Home
  2. Manual
  3. Cart processing

Every click recalculates the cart.

Shopware rebuilds the cart on every change. The plugin hooks into two points: it adds automatic rewards in the collect phase and re-checks every reward in the processing phase.

  1. Collect phase: automation

    If the automation is on, the plugin finds the matching rewards and adds them to the cart before Shopware enriches the product data. If the goods value is zero, nothing happens and the opt-out marker is cleared.

  2. Processing phase: re-evaluation

    Every reward in the cart is checked again: does the entry still exist, is it active, does it belong to a visible group, does the rule match, is the product active, is the goods value enough in the current currency?

  3. Removing duplicates

    Two items with the same reward identifier can never coexist; the second one is dropped. The same product from two different rewards is allowed though.

  4. Setting the price

    Product rewards are priced at €0.00, discount rewards get a negative percentage or absolute calculation. Only then does Shopware build the totals.

Cart3 items

  • Main product1 piece €495.95
  • Variant productReward Colour: blue, size: XL €0.00
  • 5 % off your cartReward from the welcome group −€24.80

Subtotal€471.15

The result: three items, two of them rewards.

Three reasons why a reward disappears.

For every reason the plugin ships its own notice. The notice does not block the order and is shown only once.

The goods value is no longer enough

"The gift … was removed from your cart because the cart value is no longer sufficient."

The rule no longer matches

"… was removed because it is no longer available for your cart." This also applies when the product is deactivated.

The plugin is off

"… was removed because the gift promotion is no longer available." Then every reward falls away at once.

Observed and not confirmed. In our test on 13 September the reward disappeared when the threshold was undercut, but the notice was not visible; the cart only said "Cart updated". The texts are in the plugin, we could not reproduce the notice itself.

Rewards never stay alone.

If the goods value drops to zero because the last purchased item was removed, all rewards go with it. A cart containing nothing but gifts does not occur. That also covers the case where somebody deletes every normal item and keeps clicking the tiles: without goods value there is no reward.

The basis of the threshold against the condition in the standard

More in the manual.

Reward

Every field of a reward, depending on its type.

Glossary

Thirteen words that keep coming up.

Ready to let your cart hand out rewards?

Put a product into the cart in the demo shop and watch the gifts appear. Or start free with a single reward in your own shop.

Open the demo shop View in the store