Download the PHP package etechflow/module-next-day-eligibility without Composer

On this page you can find all versions of the php package etechflow/module-next-day-eligibility. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package module-next-day-eligibility

Next Day Shipping Eligibility for Magento 2

Comprehensive stock-aware shipping restrictions in one module.

Two independent rules, one admin section, one license:

  1. Next-day eligibility (auto-managed) — removes configured next-day shipping methods from checkout when any cart item is out of stock or otherwise ineligible. Eligibility is auto-maintained by a stock observer; nothing for the merchant to flip per product.
  2. Backorder express restriction (opt-in, v1.1.0+) — removes any express methods you list when the cart contains backorder items (out of stock with backorders enabled, or partially short). Useful for merchants who explicitly flag pre-order / made-to-order products and don't want them sold with express delivery.

Both rules raise a single dismissible checkout banner with merchant-customisable wording. Both respect the Drop-Ship Eligible exemption.

Stock-aware. Drop-ship aware. Hyvä compatible. Works with Magento Open Source and Adobe Commerce.


What's new

The version-by-version history lives in CHANGELOG.md. Highlights of the most recent releases:


What it solves

Merchants who advertise next-day delivery hit the same problem from two directions:

Scenario Without the module With the module
Customer picks "Next Day" on an out-of-stock item Order ships a week late, refund + 1-star review Next-day automatically hidden at checkout; banner explains why
Customer picks "Express" on a pre-order / backorder item Same problem — supplier ETA is two weeks, customer paid £15 for next-day Express methods automatically hidden when the toggle is enabled
Drop-shipped products with zero local stock Marked out of stock, no Add to Cart button Stay eligible — supplier ships direct, backorders auto-enabled
Customer asks "where is my order?" Volume support tickets Banner sets the expectation at checkout

Requirements

Magento Open Source 2.4.4+ OR Adobe Commerce 2.4.4+
PHP 8.1, 8.2, 8.3, or 8.4
Compatible themes Luma (default) + Hyvä

Installation

Option A — Composer (recommended)

Option B — Manual (from zip)

  1. Unzip etechflow-module-next-day-eligibility-1.1.0.zip into:

    The directory MUST be named ETechFlow (capital E, capital T, capital F) — case-sensitive on Linux servers.

  2. Enable and set up:

  3. Verify:

After install — quick setup

Open the admin and go to Stores → Configuration → eTechFlow → Next Day Eligibility.

Step 1 — License

License → License Key: paste the key from your purchase email and save.

Don't have a key yet? Dev/staging hosts are free. Any URL matching localhost, *.test, *.local, staging.*, dev.*, *.magento.cloud, ngrok tunnels, or RFC 1918 IPs runs at full features without a key. For non-standard dev domains, set License → Production Environment = No instead.

Step 2 — Enable the module

General Settings → Enable Module = Yes → save.

Step 3 — Pick your next-day shipping methods

General Settings → Next Day Shipping Methods is a multi-select dropdown. The list is auto-populated from your store's currently active shipping methods (the same list shown under Stores → Configuration → Sales → Shipping Methods). Tick the methods you want removed for ineligible carts — typically just your paid next-day or express options. Hold Ctrl/Cmd to select multiple. Save.

⚠️ Important — keep at least one fallback method unticked. Don't tick every option. The intended pattern is to tick only your paid express / next-day methods so a standard or free option always stays available for ineligible carts. If you accidentally select everything, a safety net returns the original rates and logs a warning to var/log/system.log to prevent a stuck checkout — but that's a guardrail, not a config strategy. See docs/USER_GUIDE.md "Configuration trap" for the typical UK setups.

That's the core feature done. Browse to a product detail page — you'll see the green "Next Day Eligible" / grey "Standard Delivery Only" badge under the price.

Step 4 — (optional) Enable Backorder Express Restriction

If you also want to block express shipping on backorder items:

Backorder Express Restriction:

Step 5 — (optional) Customise the checkout banner

Checkout Notice:

All four fields can be overridden per store view for multi-brand setups.

Step 6 — (optional) Hide or simplify the product-page badge

General Settings → Show Badge on Product Page:

Per-product overrides (v1.4.0+)

Two checkboxes on the product edit page (under the eTechFlow Shipping attribute group) let you override the auto-calculation per product:

Attribute What it does When to use
Drop-Ship Eligible Always eligible regardless of local stock — supplier ships direct Products fulfilled by a same-day-shipping supplier
Force Standard Shipping Only (new in v1.4.0) Always ineligible regardless of stock — only standard shipping shown at checkout Bulky / hazmat / fragile / made-to-order / promotional items

Precedence inside the eligibility evaluator:

  1. Force Standard Shipping Only = Yes → always ineligible (merchant override wins)
  2. Drop-Ship Eligible = Yes → always eligible
  3. Otherwise: stock check (qty > 0 AND in stock → eligible)

Both flags work as Magento mass-action targets — see "Tips" below.

Tips for managing the catalogue

Bulk-flag drop-ship products. In Catalog → Products, filter the grid (now filterable by Drop-Ship Eligible — new in v1.3.0), tick the products, and use Actions → Update Attributes → Drop-Ship Eligible = Yes. Magento applies it to every selected product in one click.

Bulk-flag force-standard-only products. Same workflow with the new attribute: filter by Force Standard Shipping Only = No, narrow further (e.g. by category = "Furniture" or by weight), tick all, Actions → Update Attributes → Force Standard Shipping Only = Yes. Useful for one-pass classification of your bulky-item or hazmat catalog.

Bulk imports. If you're using a CSV import or custom script to load thousands of products, set $product->setData('_etechflow_skip_eligibility', true) before each save to bypass the per-product observer. Then batch-evaluate after the import completes via \ETechFlow\NextDayEligibility\Model\EligibilityEvaluator::evaluateById(...). See docs/USER_GUIDE.md "Bulk imports — the escape hatch" for the full pattern.

Module status banner. At the top of the NDE admin config section is a coloured banner showing whether the module is active, idle, or has a licence problem. Read it first if anything seems off — most "I configured it but nothing happens" cases are answered by that banner.

Documentation

File Read when
README.md (this file) First — overview + install + quick setup
docs/USER_GUIDE.md Full reference: every admin field, every scenario, troubleshooting, known limitations
CHANGELOG.md What changed in each version
LICENSE.txt Licence terms

Support

License

Proprietary — see LICENSE.txt. Licensed per Magento installation, with unlimited dev/staging environments under the same business entity.

To change your production domain (e.g. site migration), email [email protected] with your old + new domain and order number. New key issued same business day.


All versions of module-next-day-eligibility with dependencies

PHP Build Version
Package Version
Requires php Version ~8.1.0||~8.2.0||~8.3.0||~8.4.0
magento/framework Version ^103.0||^104.0
magento/module-catalog Version ^104.0||^105.0
magento/module-catalog-inventory Version ^100.4||^101.0
magento/module-checkout Version ^100.4||^101.0
magento/module-quote Version ^101.2||^102.0
magento/module-store Version ^101.1||^102.0
magento/module-config Version ^101.2||^102.0
magento/module-configurable-product Version ^100.4||^101.0
magento/module-grouped-product Version ^100.4||^101.0
magento/module-bundle Version ^101.0||^102.0
magento/module-eav Version ^102.1||^103.0
magento/module-inventory-sales-api Version ^1.2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package etechflow/module-next-day-eligibility contains the following files

Loading the files please wait ...