Version 2.0 adds gift ladders, progress in the cart, a gift choice and a product page badge. Existing cart price rules with a gift keep working; there are no manual steps.
1. Upgrade the module
We can do the upgrade for you. If whoever looks after your store does it, they run this in the store root:
composer update degriznet/m2_freegift
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
php bin/magento cache:flush
On a Hyvä theme also run php bin/magento hyva:config:generate and rebuild the theme CSS (see installing on Hyvä).
2. What changes
| Before (1.x) | Now (2.0) |
|---|---|
| Gift with a price of 0 or an empty price | Gift with its regular price and a 100 % discount (“Discount (Gift)” in the totals), €0.00 to pay |
| The gift line is removed and added again on every cart change | The gift line stays the same while the gift is in the cart |
| The gift does not count towards the shipping weight | By default the gift counts towards the weight; switch it off in the settings |
| Actions “Add a Gift” and “Add a Gift (For each cart item)” | “Free gift by rule (advanced)” and “Free gift by rule, per cart item (advanced)” |
| “For each cart item” gifts of one rule in several lines | One line with the summed quantity |
The upgrade sets Gift actions in cart price rules to Yes by itself when any rule already uses a gift, so the admin looks the same as before.

3. Check after the upgrade
In the cart, meet the condition of your gift rule and check that the gift is added.
If you export orders to accounting or an ERP, check one export: the gift now has its regular price and a discount instead of a price of 0. The gift data is also stored on the order item.
If you ship by weight and the gift must not change the shipping price, switch off Gifts count towards the shipping weight in the settings.
Consider replacing gift rules by cart value with a gift ladder, which shows the customer the progress.


