All modulesMagento 2 module

Free samples in the cart

Above a cart value the customer picks a few free samples from a category you choose. Each sample is one piece at 0.00, labelled "Sample" in the cart and on the invoice.

€240 + VAT · one-off licence, installation optional

www.degriz.eu
Above the cart threshold the shopper picks free samples, which sit in the cart at EUR 0.00
About the module

What it does.

"I would like to give customers two samples over 40 EUR, so they try something else too." A sample is a cheap way to introduce a product the customer would not try otherwise, and to bring them back for the full size.

What it looks like

A customer has 31 EUR in the cart and sees "9.00 EUR more for 2 free samples". They add a product and pass 40 EUR: a picker with sample cards opens under the cart table. One click each picks two samples, one piece each; the table shows them with the label "Sample", the regular price struck through and 0.00. If the cart drops below the threshold the samples go, and the shop says why.

What changes

  • Picker in the cart. Sample cards with image and name, a counter "Selected 1 of 2", Add and Remove buttons. Two cards per row on a phone.
  • Progress to the samples. In the cart and mini cart the customer sees how much is missing. Up to three tiers, for example 30 = 1 sample, 60 = 2, 100 = 3.
  • The category is the source. Samples are the products of the category you choose. A sample out of stock is not offered; a chosen one that runs out is removed and the customer is told.
  • The server checks. The price 0.00 is set by the cart, not by a browser request. A sample cannot be obtained below the threshold, outside the category or beyond the allowed number.
  • Correct in the order and invoice. The line is labelled "Sample" and shows the struck-through regular price and 0.00, without VAT; the credit memo shows 0.00. The quantity and the condition are recorded, which documents it for your accountant.
  • Badge on the product page. "With orders over 40 EUR you get 2 free samples". Works with the full page cache.
  • Rules your way. Customer groups, dates, priority, threshold basis (incl. or excl. VAT), texts per store view, GA4 events.

Who it is for

Shops with small or new products: cosmetics, coffee, tea, spices, filaments. A sample introduces the product and nudges the customer to a bigger cart and a repeat purchase.

How to set it up

In Marketing › Promotions › Free samples choose the category, the cart value and the number of samples, and switch it on. For several tiers, customer groups, dates and texts open Stores › Configuration › Magelan › Free Samples. Tell us what samples you want and we can set it up for you.

Good to know

  • The module runs on the core of Tiered gifts (installed together). When a gift ladder and a samples ladder are both active, one cart uses one: the one with the lower priority number. The admin gets a warning.
  • A sample must be a simple or virtual product without required options. The table on the module page shows why a sample is not offered.
  • The picker is in the cart; at checkout the sample line is only shown.
  • VAT. Under Article 7 of the Slovenian VAT Act (and Art. 16 of the EU VAT Directive) business samples given in reasonable quantities and not meant for sale are supplied without VAT. So put real samples in the sample category (mini sizes marked "not for sale" that you do not sell otherwise), one piece each. If you offer a regular catalogue product as a sample, the tax authority can treat it as a gift with purchase, taxed on its cost price. The 0.00 line on the invoice is correct; any VAT due is accounted for internally. Confirm with your accountant; this is not tax advice.
  • For the customer a sample is not taxable income, since the benefit is open to every customer on the same terms.

Want it in your store?

Install it yourself or choose installation and configuration when you order. Building a new store? Add it to your project in the Konfigurator.

Screens

Take a look at every step.

www.degriz.eu
The cart drawer tells when the threshold is reached and offers the choice of samples
www.degriz.eu
The sample picker in the cart: the shopper chooses as many samples as are available
www.degriz.eu
The chosen samples in the cart: price EUR 0.00 and the label Sample
www.degriz.eu
Settings in the admin: sample category, cart threshold and number of samples
User guide

See how it works, step by step.

Our guide centre shows the settings and the everyday work with this module, with real screenshots.

Installation

How to install it.

The module is in development, so there are no installation instructions yet. We will publish them on this page when it is ready.

Technical details

Compatibility.

Just the facts.

Code
degriz_freesample
Platform
Magento 2
Licence
One-off
Testing
Fully tested on our staging stores with demo content, not yet running in a live shop. When we install it, we check it together with you and adjust it to your shop.
Change log

Version 1.0.4 · 26 Nov 2026

  • Sample names with HTML codes (Lumaflex™) are shown as text (™), not as raw code.

Version 1.0.3 · 10 Nov 2026

  • The module is tested on a real shop (Hyvä and Luma, Slovenian and Croatian store view, checkout, order, invoice, admin).
  • Messages for a refused pick speak of samples, not gifts.
  • The hint for guests no longer shows the sentence "0,00 € more for samples".

Version 1.0.0 · 14 Oct 2026

  • First release: above a set cart value the customer picks free samples from a category you choose.
  • One to three tiers (for example 30 = 1, 60 = 2, 100 = 3 samples); the highest reached tier counts.
  • A picker in the cart, progress in the cart and the mini cart; a sample is labelled Sample and priced at 0.00.
  • If the cart value falls below the threshold or a sample goes out of stock, the sample is removed with a notice.
  • Set up in a minute under Marketing, Promotions, Free samples; an optional hint for guests to log in.
After purchase

You are not left alone.

We develop and maintain the module ourselves, so you write to the people who know it line by line.

Installation

Installation and configuration are optional: choose them when you order and the price is added to the order (+ VAT). If more time is needed, we bill the rest separately.

Support

A bug that repeats on a clean Magento with the Luma theme we fix free of charge. Settings, customisations and other themes by time spent.

Updates

The licence includes 12 months of free updates for the Magento versions on the supported list.

We agree on a date after reviewing the request. User guides in the guide centre

Free samples in the cart

€240 + VAT

One-off licence for one store, no subscription. Installation and configuration are optional.

After payment you get the licence and access to our private repository: immediately with a card or PayPal, with a bank transfer (UPN) as soon as we receive the payment. 12 months of free updates are included.

Write to us

Install it yourself by following the guide, or choose installation and configuration above. If more time is needed, we bill the rest separately. We agree on a date after reviewing the request.

Frequently asked questions

Questions we get most often.

Can a customer get a sample without reaching the threshold?

No. We set the price of 0.00 EUR in the cart, not a browser request. A sample can only be obtained once the threshold is reached, only from the chosen category and only up to the allowed number.

How many samples can a customer choose?

As many as you define for the tier reached, each sample in a single piece. There can be up to three tiers, for example 30 EUR = 1 sample, 60 EUR = 2, 100 EUR = 3. The highest tier reached applies.

What happens if the customer reduces the cart below the threshold?

The samples are removed and the customer gets a notice saying below which amount the cart is. When the cart exceeds the threshold again, the chosen samples return if they are still in stock.

What if a sample runs out?

A sample without stock is not offered (the card is visible with the label 'Out of stock'). If a chosen sample runs out during checkout, we remove it from the cart and notify the customer. On the module page in the admin you see which samples are not offered and why.

Does the module work together with Tiered Gifts?

The module runs on the core of Tiered Gifts, which is installed together with it. If both a gift ladder and a sample ladder are active for the same cart, only one applies: the one with the lower priority number. You get a warning in the admin.

Do I have to charge VAT on free samples?

As a rule no, if they are real business samples: in reasonable quantities, to customers or prospective customers, in a form not meant for sale (Art. 7 ZDDV-1). The module gives each sample in one piece and shows it on the invoice at 0.00 EUR without VAT. If you offer a regular catalogue product as a sample, the tax authority can treat it as a gift with purchase, taxed on its cost price. Confirm with your accountant; this is not tax advice.

Anže Voh, Degriz

Questions about this module?

Write to us and we will answer personally.

[email protected] · +386 40 807 231

Free samples in the cart€240 + VATAdd to cart

Online store configurator

Redesigning your store or building a new one?

Put your own quote together in the configurator and see the price straight away. A few minutes, no obligation, no meeting needed.

  • Price straight away
  • No obligation
  • Straight to the developer
Open the configurator

Free and with no obligation

We use cookies for the proper functioning of the site, visit analytics and showing ads tailored to your interests. Read more in our privacy policy. By clicking "Accept all" you agree to the use of all cookies.