Magento 2 Experts — Hyvä Theme, Tailwind CSS & SEO from a Single Source ›

Magento 2 Shipping Restrictions: Block Methods by Product, Group, Country and Postcode

Magento 2 Extension Hyvä Ready Magento 2.4.x

SKU: SHIPPINGRESTRICTIONS1

  • Block rules by product, category, customer group, country and postcode
  • Allow and deny rules with priority for exceptions
  • Admin test tool: enter country, postcode and product, see the result
  • Clear customer message when no shipping method is left
Auf Lager
€149.00

Einmaliger Kauf · inkl. 12 Monate Updates · zzgl. MwSt.

No download, but personal setup

No download, but personal setup. This product is not a downloadable software package for self-installation. With your order, you commission Mironsoft to individually set up this module in your shop. We will get in touch with you within 2 business days — we'll sort out the details and payment together then.

This offer is aimed at business owners and companies running a Magento 2 shop.

6 Features

Magento 2 shipping restrictions: offer only what you can deliver

With the Magento 2 shipping restrictions module you decide which shipping methods appear for which product, customer group, country and postcode. Bulky goods disappear from the parcel choice, islands only get the right freight carrier, hazardous items stay on approved routes. The extension works with Hyvä and is set up personally in your shop by Mironsoft.

Rules by product

Attribute, category or fixed list: bulky goods, liquids or batteries do not take certain routes.

Country, region and postcode

Country lists, postcode ranges, prefixes and wildcards for islands, mountain regions or industrial areas.

Customer groups

Resellers may choose freight while consumers only get parcel, or the other way round.

Allow and deny

Blocks and exceptions with priority, so special cases do not fail on base rules.

Test tool

Enter country, postcode and product in the admin and see which methods remain.

Clear message

If no method is left, the shop explains why instead of showing an empty choice.

01Rule structure

Magento 2 shipping restrictions per product: one rule, three questions

Every rule answers three questions: which shipping methods does it cover, under which conditions and with which outcome? Conditions are product attribute, category, customer group, country, region, postcode pattern, weight and cart value. The outcome is block or allow. "Furniture freight never abroad" or "no parcel service above 31.5 kg" becomes a single traceable line.

All rules carry a priority. A specific exception such as "freight allowed for business customers" beats the general block without deleting or rebuilding anything.

  • Freely combinable conditions
  • Priority for exceptions
  • Rules activatable per store view
Shipping › Restrictions
RuleBulky goods freight only
BlocksParcel standard, parcel express
ConditionAttribute bulky = yes
Priority10
Test · Delivery address
CountryGermany
Postcode25980
ResultFreight only
BlockedParcel standard (island rule)
02Postcodes and countries

Magento 2 shipping restrictions by postcode: islands, mountains, special zones

Postcodes can be entered as single values, ranges ("25980-25999"), prefixes ("257*") or lists. This controls island surcharges, zones without weekend delivery or regions a carrier does not serve. Countries work the same way: complete lists or single exceptions.

The rule takes effect as soon as the customer enters country and postcode in the cart or checkout. The offer of methods adapts without a page reload through Alpine.js in the Hyvä checkout.

  • Postcodes as range, prefix, wildcard or list
  • Countries and regions groupable
  • Checkout updates without reload
03Mixed carts and message

Magento 2 shipping restrictions in mixed carts: a clear message when no method is left

In a mixed cart you decide whether a single affected item blocks the method or whether all items must be affected. If no method remains, the shop shows your message, for example "We deliver this item to your address by freight only, please contact us". Optionally a note already appears on the product page.

The admin test tool runs every combination of country, postcode, customer group and products. New rules are verified there before a customer ever meets them.

  • One item is enough, or all items
  • Own message per store view
  • Test tool with result list in the admin
Test tool
ProductsSofa, cushion
Customer groupConsumer
ResultFurniture freight
MessageFreight only
Use cases

Use cases for Magento 2 shipping restrictions in your shop

Magento 2 shipping restrictions solve problems that otherwise land in customer service or returns.

Furniture, bulky goods and pallets

Large items must not enter the parcel choice and go to freight or pick-up only.

Liquids, batteries, hazardous goods

Certain items take approved shipping routes only, never the standard letter.

Country and customs borders

Delivery only to selected countries, the rest gets no method and a clear message.

Reseller pricing and pick-up

Customer groups see different methods, for example pick-up for regular customers only.

Comparison

Magento 2 shipping restrictions: without and with the module

The standard system knows country and weight limits per method, but no rules across product, group and postcode.

TopicWithout the moduleWith Shipping Restrictions
Product-based blockNot providedAttribute, category or list
Postcode rulesOnly through carrier rate filesRanges, prefixes, wildcards for every method
Customer groupsNot per methodRules per group
ExceptionsRebuild rulesAllow rules with priority
VerificationTest order on the storefrontTest tool in the admin
Customer noticeEmpty choiceOwn message and product-page note
Setup

How we set up Magento 2 shipping restrictions in your shop

After the purchase, setup runs in five steps.

1

Capture methods

We list your active shipping methods and carriers and clarify the blocking cases.

2

Install the module

Installation of the extension and a test with your Hyvä checkout.

3

Create rules

We enter your Magento 2 shipping restrictions as rules with conditions, priority and store view.

4

Write messages

Customer message and product-page note are worded in your voice.

5

Test runs

With the test tool we check together how Magento 2 shipping restrictions behave for typical addresses and carts.

Scope and notes on Magento 2 shipping restrictions

The module blocks shipping methods, not payment methods. For payment restrictions by country, group or cart, Mironsoft's Payment Restriction applies. If you want to calculate shipping costs by country, postcode, weight and price, use Table Rate Shipping; Shipping Restrictions decides whether a method appears at all. The tax split of shipping costs in a mixed cart is handled by Dynamic Shipping Tax.

Restrictions from hazardous-goods, customs or alcohol law are your responsibility as a merchant. The module reproduces your requirements technically but does not replace the legal check of whether a product may be shipped by a given route.

Typical rules are quickly described. Example one: items with the attribute bulky may only ship by freight or pick-up, so the parcel methods are blocked. Example two: the postcodes of the North Sea islands get their own shipping route and all standard parcels are hidden there. Example three: customers in the reseller group may additionally choose pallet delivery, consumers may not. Each of these rules consists of a few fields and can later be changed without programming.

Because the rules apply while the shipping methods are determined, the checkout stays fast. No extra pages are loaded and no third-party scripts are included. Priority and store-view assignment keep a long rule list manageable, and a validity date covers products that are only blocked for a short time.

04How the purchase works

No download — personal setup instead

The Magento 2 shipping restrictions module is not listed here as a ready-made download for self-installation. The purchase is a service commission: we install the module in your shop and set up shipping rules, messages and tests with you.

Important to know

Your purchase does not include a download link. We will get in touch with you within 2 business days — we'll sort out the details and payment together then. This offer is aimed at business owners and companies running a Magento 2 shop.

FAQ

Frequently asked questions

Everything important about rules, postcode patterns, mixed carts, legal notes and the purchase.

How can I restrict shipping methods by postcode in Magento 2?
With the Magento 2 shipping restrictions module you create a rule with a postcode pattern and choose the method to block. Mironsoft sets the module up personally.
How can I use Magento 2 shipping restrictions to exclude a method for a specific product?
Pick the product by attribute, category or list as the condition and block the method. It no longer appears while that product is in the cart.
Which postcode patterns do Magento 2 shipping restrictions support?
Single values, ranges, prefixes with wildcard and lists, combinable with country and region.
What happens when no shipping method is left?
The customer sees your own message instead of an empty choice, for example with a contact note. Optionally a note shows on the product page.
How does a cart with several products behave?
You decide whether one affected item suffices or all must match. Allow rules with priority permit exceptions.
Can I hide shipping methods per customer group?
Yes, customer group is a condition like country or postcode, for example pick-up for regular customers only.
Can I test rules without placing an order?
Yes, the admin test tool takes country, postcode, customer group and products and shows the remaining methods.
Does it work with all carriers?
The rules act on the shipping methods Magento determines at checkout. During setup we check your carrier modules.
Does the shipping restrictions extension work with Hyvä?
Yes, the offer updates in the Hyvä checkout via Alpine.js without a page reload.
Can I download and install the module myself?
No. This offer is not a download product. After the purchase we install and configure the module personally in your shop.
Write Your Own Review
You're reviewing: Magento 2 shipping restrictions – Mironsoft
loader
Loading...

You submitted your review for moderation.

This form is protected by reCAPTCHA - the Google Privacy Policy and Terms of Service apply.

Magento 2 shipping restrictions – Mironsoft

Magento 2 shipping restrictions – Mironsoft

€149.00