Skip to main content
Product details are displayed in English. Translations coming soon.
Advanced Shipping Rules & Restrictions for Magento 2 — A custom-built Magento 2 / Adobe Commerce extension that adds per-prod — 1/1مثالی پیش منظر

A custom-built Magento 2 / Adobe Commerce extension that adds per-product shipping methods,

rate overrides, discounts, and condition-based carrier and payment restrictions. Built, installed, and supported by

ECOSIRE on your store.

Advanced Shipping Rules & Restrictions for Magento 2 کیا ہے؟

Adds per-product shipping methods, rate overrides, discounts and condition-based carrier and payment restrictions to Magento 2 / Adobe Commerce. Built to order by ECOSIRE for Magento 2 / Adobe Commerce (build-to-order) — indicative price from $999.00 USD; request a quote for a scoped proposal.

اہم خصوصیات

Per-product and per-product-group shipping methods driven by product attributes, SKU, or category — assign freight, white-glove, or custom carriers to specific items independent of the global carrier config
Shipping cost override engine that recalculates the quote shipping amount via a plugin on Magento\Quote\Model\Quote\Address\Total\Shipping, with fixed, percentage, per-item, and per-weight modes
Conditional shipping discounts and surcharges applied in the total collectors so they appear correctly in cart, checkout, invoice, and credit memo
Carrier show/hide rules that filter the available method list by cart subtotal, weight, item count, customer group, product attribute, or full destination address (country, region, postcode patterns)
Free-shipping rule engine with stackable conditions (threshold, SKU presence, customer group, date window) that integrates with native cart price rules rather than fighting them
Payment-method restriction by selected shipping method — e.g. disable Cash on Delivery for freight or store-pickup orders — enforced server-side at checkout
Admin rule builder grid with drag-priority ordering, enable/disable toggles, store-view scoping, and granular ACL resources under Ecosire_ShippingRules::rules
REST endpoints and GraphQL cart-schema extensions so rule outcomes are identical on Luma, Hyvä, and PWA Studio / headless frontends
Address-condition matching with postcode wildcard and range support for regional surcharges, remote-area fees, and country-level carrier gating
Cron-based rule scheduling for time-boxed promotions with automatic activation and expiry
Full audit logging of which rule matched each quote, surfaced in the admin for debugging shipping disputes
Compatible with Magento Open Source and Adobe Commerce, multi-website / multi-store-view setups, and existing third-party carrier extensions via prioritized plugin sort-order

آرڈر پر تیار، مکمل طور پر آپ کے لیے

خود سیٹ اپ کی ضرورت نہیں — ایک کام کرنے والی ایپ جو ECOSIRE بناتا، انسٹال اور سپورٹ کرتا ہے۔

  1. 1

    آپ آرڈر دیتے ہیں

    ایک بار کی تعمیر کی قیمت سے آغاز کریں۔ آغاز پر ہم آپ کے ساتھ مل کر دائرہ کار طے کرتے ہیں۔

  2. 2

    ہم بناتے اور انسٹال کرتے ہیں

    ECOSIRE اسے آپ کے Magento 2 پر بناتا، ترتیب دیتا اور انسٹال کرتا ہے۔

  3. 3

    لائیو + معاونت

    آپ تقریباً ایک کاروباری ہفتے میں لائیو ہو جاتے ہیں، گو لائیو کے بعد دو ہفتوں کی معاونت کے ساتھ۔ ہمارے فراہم کردہ کوڈ کی خرابیاں مفت درست کی جاتی ہیں۔

اس مصنوع کے بارے میں

Magento's native shipping configuration handles flat-rate, table-rate, and carrier-account methods well, but it falls apart the moment your logic becomes product-aware or condition-driven. You can't natively say "this oversized product always ships freight," "hide express shipping when the cart contains hazardous SKUs," or "block Cash on Delivery whenever in-store pickup is selected." Advanced Shipping Rules & Restrictions closes that gap.

This is a build-to-order extension: ECOSIRE engineers it against your exact Magento 2 / Adobe Commerce version, theme, and existing shipping stack, then installs and supports it on your environment. It is not an instant Adobe Commerce Marketplace download — you get code written for your catalog, not a generic package you fight to configure.

The module ships as a proper composer package under app/code/Ecosire/ShippingRules, wiring its logic through di.xml plugins on the shipping rate collectors and Magento\Quote total models, plus observers on sales_quote_collect_totals_before and checkout events. Rules evaluate against cart contents, customer group, product attributes, destination address, weight, and subtotal. A dedicated admin grid with ACL resources lets your team author, prioritize, and toggle rules without redeploying. Rates, restrictions, and free-shipping outcomes are exposed through both the REST API and the GraphQL cart schema so headless and PWA Studio storefronts stay consistent.

Because every rule runs server-side in the quote total pipeline, results are authoritative at checkout, in the cart summary, and in the order — no client-side spoofing. ECOSIRE delivers it tested against your data, with a documented handover and a support window so your team owns it confidently afterward.

What you get

  • A composer-installable Magento 2 module (Ecosire_ShippingRules) under app/code or a private composer repository, written for your specific Magento / Adobe Commerce version
  • Installation and configuration on your staging environment, with bin/magento setup:upgrade, di:compile, and cache verification performed by ECOSIRE
  • Admin rule-builder UI with ACL roles configured for your team, plus seeded example rules matching your stated shipping logic
  • REST and GraphQL API coverage so headless / PWA Studio storefronts consume the same rule outcomes
  • Technical handover document covering rule architecture, di.xml plugin points, events used, and how to author new rules
  • Post-delivery support window for bug fixes and compatibility adjustments, plus a paid retainer option for ongoing changes and version upgrades

Who this is for

Merchant with mixed product types

Sells small parcel goods alongside oversized, freight, or hazmat items in the same catalog and needs each product type to surface only its valid carriers and rates at checkout.

Magento store owner running shipping promotions

Wants conditional and time-boxed free shipping, threshold-based discounts, and regional surcharges that stay accurate from cart through to invoice without manual coupon juggling.

Headless / PWA Studio developer

Building a decoupled storefront and needs shipping rules and restrictions exposed consistently through GraphQL and REST so the frontend never diverges from server-side checkout logic.

How Advanced Shipping Rules & Restrictions for Magento 2 Compares

CriterionECOSIRECustom BuildCompetitorMagento 2 نیٹو
Per-product / per-group shipping methodsIncludedIncludedPartial supportNot included
Carrier show/hide by cart and full address conditionsIncludedIncludedPartial supportNot included
Payment-method restriction by shipping methodIncludedIncludedPartial supportNot included
GraphQL + REST coverage for headless / PWA StudioIncludedPartial supportPartial supportPartial support
Built and tested against YOUR exact catalog and versionIncludedIncludedNot includedNot included
Instant self-service download, no lead timeNot includedNot includedIncludedIncluded
Installation and configuration done for youIncludedPartial supportNot includedNot included
Time-boxed / cron-scheduled shipping promotionsIncludedPartial supportPartial supportPartial support

Frequently Asked Questions about Advanced Shipping Rules & Restrictions

Is this a download I can install instantly from the Adobe Commerce Marketplace?

No. This is build-to-order. ECOSIRE engineers the module against your specific Magento 2 or Adobe Commerce version, theme, and existing shipping setup, then installs and supports it on your environment. You receive code written for your catalog and conditions, not a generic Marketplace package you have to wrestle into shape.

How long does delivery take after I order?

A typical build for the standard feature set runs about one working week from requirements sign-off, depending on the complexity of your shipping logic, the number of carriers involved, and whether you need GraphQL/headless coverage. We confirm a firm timeline during the scoping call before any work begins, and you get staging access for review before production deployment.

What support and updates do I get after delivery?

Every build includes a post-delivery support window for bug fixes and compatibility adjustments at no extra cost. For ongoing changes, new rule types, and Magento version upgrades, we offer a paid maintenance retainer. Because the module is delivered as clean composer-installable code with a handover document, your own developers can also maintain it independently if you prefer.

Will it work with my existing carrier extensions and Magento's native shipping methods?

Yes. The module layers on top of Magento's shipping pipeline using prioritized di.xml plugins and observers, so it cooperates with native flat-rate, table-rate, and account-based carriers as well as third-party carrier extensions. We set plugin sort-order during the build to ensure rules evaluate after your carriers populate their rates.

Does it work on a headless / PWA Studio or Hyvä storefront?

Yes. All rule logic runs server-side in the quote total collectors, and outcomes are exposed through both REST and GraphQL cart-schema extensions. That means available methods, computed rates, and restrictions are identical whether your storefront is Luma, Hyvä, or a fully decoupled PWA Studio / headless frontend.

Can it restrict payment methods based on the chosen shipping method?

Yes. The module enforces payment restrictions server-side at checkout — for example, disabling Cash on Delivery for freight shipments or in-store pickup orders. Because the check happens in the quote pipeline rather than the browser, it cannot be bypassed by manipulating the frontend.

آرڈر پر تیار
AI Multichannel Listing & Repricer for Magento 2
قیمت کا تخمینہ طلب کریں

Advanced Shipping Rules & Restrictions

A custom-built Magento 2 / Adobe Commerce extension that adds per-product shipping methods, rate overrides, discounts, and condition-based carrier and payment restrictions. Built, installed, and supported by ECOSIRE on your store.

  • Per-product and per-product-group shipping methods driven by product attributes, SKU, or category — assign freight, white-glove, or custom carriers to specific items independent of the global carrier config
  • Shipping cost override engine that recalculates the quote shipping amount via a plugin on Magento\Quote\Model\Quote\Address\Total\Shipping, with fixed, percentage, per-item, and per-weight modes
  • Conditional shipping discounts and surcharges applied in the total collectors so they appear correctly in cart, checkout, invoice, and credit memo
  • Carrier show/hide rules that filter the available method list by cart subtotal, weight, item count, customer group, product attribute, or full destination address (country, region, postcode patterns)

قیمت کا تخمینہ طلب کریں

ہمیں Advanced Shipping Rules & Restrictions کے لیے اپنی ضروریات بتائیں اور ہم آپ کو قیمتیں، لائسنس کے اختیارات اور ایک مخصوص تجویز بھیجیں گے — عام طور پر ایک کاروباری دن میں۔

ابھی کوئی ادائیگی نہیں۔ یہ ہماری ٹیم کو قیمت کی درخواست بھیجتا ہے — ہم قیمت اور اگلے اقدامات کے ساتھ ای میل کے ذریعے رابطہ کریں گے۔