- Home
- What's New
- Shipping Restrictions for Magento 2
🎯
Feature Spotlight
Overview
11 releases in the last year
Each square is a week. Pick one to jump to its releases.
Less
More
November 2026
Nov 10
1.2.2
Nov 10
Fixed
- Saving and deleting a restriction now only works from the admin forms — A restriction could be created, changed, or deleted just by opening a link, which was dangerous on stores that turned off "Add Secret Key to URLs": any page an admin visited could quietly add a restriction that hid all shipping methods, or delete one. Save and Delete now accept only form submissions with the admin form key. The Delete link in the grid and the Delete button on the edit page keep working as before.
- Admin roles without Shipping Restrictions access can no longer see restrictions — An admin user whose role did not include the Shipping Restrictions permission could still load the full list of restrictions, and the details of each one, through the admin grid's data requests. Those requests now check the same permission as the rest of the extension.
- The restriction conditions builder now respects admin role permissions — Adding a condition to a restriction worked for any admin user, whatever their role. It now requires the Shipping Restrictions permission, and it refuses any request for something other than a restriction condition instead of building it first and discarding it afterwards.
Nov 10
1.1.14
Shipping Area
Nov 10
Fixed
- Fixed the "Number of Orders" condition counting every order placed with the checkout e-mail, no matter who placed it. A guest could enter a registered customer's e-mail address and be treated as that customer — unlocking rates, methods or exemptions reserved for repeat buyers, or bypassing restrictions aimed at first-time buyers. A signed-in customer is now counted by their own account's orders, and a guest only by previous guest orders placed with the checkout (or billing) e-mail; a guest with no e-mail counts as 0 orders.
- Fixed saving and deleting shipping areas accepting plain links (GET requests). Both actions now accept form submissions only, so a link or page opened by a logged-in admin can no longer change or delete an area when admin URL secret keys are turned off. The Delete action in the area grid and the Delete button on the area form keep working as before.
- Fixed the shipping area grid and edit form data being available to every admin role. Loading them now requires the Shipping Area permission, like the rest of the module's admin pages.
- Fixed adding a condition row in the area's rule builder being available to every admin role. It now requires the Shipping Area permission and only accepts shipping area condition types.
October 2026
Oct 26
1.2.1
Oct 26
Improved
- Compatible with Mirasvit Core 2.0 — the module can now be installed alongside both the 1.x and 2.0 versions of the core package
-
Shipping Restrictions now installs alongside version 2 of the Mirasvit Core module (
mirasvit/module-core2.x), so updating Core for another Mirasvit extension no longer blocks you from upgrading or keeping this one. Core 1.2 and later still works.
Oct 16
1.2.0
Oct 16
New
Hyvä support now ships with the extension
The companion package
mirasvit/module-shipping-restriction-hyva is gone: the restriction messages in the Hyvä cart shipping estimate and in the Hyvä Checkout shipping step are now part of Shipping Restrictions itself. There is no second package to find and keep in step, and on a Luma store the Hyvä part simply stays dormant. Composer removes the companion package by itself when you upgrade.
Improved
-
⚠️
Hyva_MirasvitShippingRestrictionis gone, not renamed — Its templates and layouts now live insideMirasvit_ShippingRestriction, and the extension no longer depends onhyva-themes/magento2-compat-module-fallback. You only need to act if you referencedHyva_MirasvitShippingRestrictionyourself — in a customdi.xml, a layout file, or a deployment script that enables modules by name. -
⚠️ If you overrode a Hyvä shipping template in your theme, repoint it —
Hyva_MirasvitShippingRestriction::cart/shipping.phtmlis nowMirasvit_ShippingRestriction::cart/shipping-hyva.phtml, andHyva_MirasvitShippingRestriction::checkout/shipping/method-list.phtmlis nowMirasvit_ShippingRestriction::checkout/shipping/method-list-hyva.phtml. Both stay Hyvä-only: Luma shows the same messages with its own Knockout templates, which did not change. An override at the old path is simply not read, with no error to say so. -
⚠️ Hyvä stores need
hyva-themes/magento2-theme-module1.3.14 or later, and Hyvä Checkout 1.3.1 or later — The Hyvä templates now apply on every Hyvä store, not only where the companion package was installed, and they use view models those versions introduced. Composer refuses the upgrade on an older Hyvä instead of letting the cart or checkout break. -
After upgrading a Hyvä store, run
bin/magento hyva:config:generateand rebuild your theme's Tailwind CSS, so the build picks up the templates from their new location. - The extension's entry in the admin role permissions tree is now titled "Shipping restriction" and is translated into all 16 supported languages, instead of always showing in English.
Fixed
- The Luma cart lost its shipping estimate when the Hyvä package was installed — On a store with both a Luma and a Hyvä store view, the companion package put its Hyvä template on the Luma cart too, where it could not render, so the "Estimate Shipping and Tax" block disappeared from the Luma cart. The Hyvä template now only applies to Hyvä store views.
- A long restriction message no longer spills out of its box — A message with a long unbroken word pushed past the cart summary and the checkout shipping step, on both Luma and Hyvä and most visibly on mobile. It now wraps inside its box.
- Restriction messages in the Hyvä Checkout shipping step are now always translated — In one of the two ways the shipping method list can be shown, the message was printed exactly as entered in the admin, ignoring store view translations. Both now use the translated text.
September 2026
Sep 29
1.1.13
Shipping Area
Sep 29
Improved
- Compatible with Mirasvit Core 2.x, alongside the 1.x versions already supported.
Fixed
- Fixed saving a shipping area deleting all of its conditions when the form was submitted before the conditions section had loaded. The area's name and status are still saved, and the stored conditions are now left as they were.
- Fixed the "Stock Source with Positive Remaining Qty" condition raising an error during shipping rate calculation when a product's SKU in the cart differed only in letter case from the SKU in the inventory source.
Sep 23
1.1.13
Sep 23
Improved
- Internal code improvements and maintenance.
Sep 21
1.1.12
Shipping Area
Sep 21
Improved
- Faster shipping rate calculation — configured shipping areas are now read once per request instead of once per shipping rule. On a store offering several shipping methods this removes repeated database reads on every cart and checkout rate request (measured: five identical queries down to one).
- The "Number of Orders" condition now counts a customer's orders with a single count query instead of loading every matching order, so it stays fast on stores with long order histories.
-
⚠️ Shipping area rules are now stored as JSON. Areas saved by very old installations (pre-Magento 2.2 PHP-serialized format) are converted automatically during
setup:upgrade; any row that cannot be read is left untouched and reported in the system log. - Adding a condition row in the area's rule builder now goes through Magento's standard controller response, keeping it working on current Magento versions.
- Adobe Commerce 2.4.9 and Mage-OS 3.1 are now covered by the release test matrix, alongside the Magento Open Source versions already tested.
- ⚠️ Requires Mirasvit Report 1.4.76 or newer.
Fixed
- Fixed shipping areas breaking the cart and checkout when a condition used "is one of" or "is not one of". Picking a multi-value operator on the Shipping City, Company, Fax or Number of Orders conditions caused a hard error while shipping rates were collected — shipping methods disappeared or the page failed outright. Both operators now match as expected.
- Fixed an unexplained fatal error when the condition editor was rendered without a shipping area loaded — it now reports a clear message instead, so a save from that state cannot wipe the area's stored conditions.
- Fixed the "Time of Day" condition showing a raw placeholder instead of a time when its saved value was a list rather than a single time.
August 2026
Aug 17
1.1.12
Aug 17
Fixed
- Fixed a case where saving a shipping restriction could clear its conditions.
July 2026
Jul 21
1.1.11
Jul 21
Fixed
-
Migrated saved table-rate method references (
mstrate/mstrate_<id>→mstrate/mstrate<id>) to match the new underscore-free method code format introduced in Mirasvit_ShippingTable 0.2.1. Without this, restrictions targeting a Table Rates method would silently stop matching after the update.
May 2026
May 19
1.1.11
Shipping Area
May 19
Improved
- Localized to 15 core e-commerce locales (ar, cs, de, es, fr, it, ja, nl, pl, pt-BR, pt-PT, sv, tr, uk, zh-Hans)
February 2026
Feb 9
1.1.10
Shipping Area
Feb 9
Improved
- Added new conditions "Company" and "Fax"