Rewards & free productsRewards
  1. Home
  2. Rewards
  3. Variants to choose from

Giving away a T-shirt is a question of size.

That is why the customer decides for variants. The tile carries a select box with every variant that really exists, and only with a choice can the gift be picked.

Loyalty rewardsShopping cart

Free

Variant productSelect variant...

  • Colour: blue, Size: M
  • Colour: blue, Size: XL
  • Colour: red, Size: M
  • Colour: red, Size: XL

Choose gift

Free

Main product with propertiesSize: M

Choose gift

  • The select box shows real variants

    The entries read like in the shop, for instance "Colour: red, size: M". Only variants that are active and available are loaded, in a fixed alphabetical order.

  • Without a choice there is no next step

    A click on "Choose gift" without a selected variant submits nothing, the field is highlighted. That way no variant nobody picked ever lands in the cart.

  • Or you fix the variant yourself

    If you enter a variant directly in the admin, the tile shows it without a select box, for instance "Size: M". Then this one copy is what there is.

  • The automation holds back

    Rewards with several variants are never added by the automatic selection. The help text of the setting says so as well.

Shopping cart3 items

  • Main productProduct number: SW10001 1 €495.95
  • Variant productColour: blue | Size: XL · Product number: SW10005.2 €0.00
  • 5% off your cart −€24.80

Total€471.15

The choice on the tile becomes an item with exactly that variant, including its own product number.

Why this is validated.

The chosen variant comes from the browser, and whatever comes from the browser is checked by the plugin: does the submitted variant actually belong to the configured parent product? Without that check somebody could swap the identifier and put any product into the cart for free. The comment in the source code says exactly that.

The kinds in detail.

Free product

A real product from the catalogue, in the cart at €0.00.

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