viraxpress/shippingrestriction

ViraXpress Shipping Restriction module for Magento 2

Maintainers

Package info

github.com/viraxpress/ShippingRestriction

Type:magento2-module

pkg:composer/viraxpress/shippingrestriction

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.0 2026-06-10 11:03 UTC

This package is auto-updated.

Last update: 2026-06-10 11:06:29 UTC


README

Description

The ViraXpress Shipping Restriction extension is designed to allow administrators to create and manage rules that restrict available shipping methods based on various conditions, such as customer groups, store views, specific days, and shipping methods. This helps control shipping options for different customer segments or during specific periods.

Features

  • Admin Management Interface: Comprehensive UI for creating, editing, enabling/disabling, and deleting shipping restriction rules.
  • Flexible Conditions: Rules can be based on:
    • Customer groups
    • Store views
    • Specific days of the week
    • Shipping methods
    • Custom rule conditions (serialized conditions similar to cart rules)
  • Date-Based Restrictions: Set start and end dates for rules to apply restrictions temporarily.
  • Status Control: Enable or disable rules individually.
  • Admin/Frontend Application: Option to apply restrictions in the admin panel or on the frontend.
  • Mass Actions: Bulk enable/disable and delete rules from the admin grid.
  • Integration with Checkout: Plugins automatically filter and restrict shipping rates during the checkout process.

Compatibility

  • Magento Version: 2.4.x

Installation

  1. Install the extension via Composer:

    composer require viraxpress/shippingrestriction
  2. Run the following commands from your Magento root directory:

    php bin/magento module:enable ViraXpress_ShippingRestriction
    php bin/magento setup:upgrade
    php bin/magento setup:di:compile
    php bin/magento setup:static-content:deploy
    php bin/magento cache:flush

Configuration

After installation, navigate to Stores > Configuration > ViraXpress > Shipping Restriction in the Magento Admin to enable the module.

Usage

  1. Go to ViraXpress > Shipping Restriction in the Admin panel.
  2. Click Add New Shipping Restriction Rule to create a new rule.
  3. Fill in the rule details:
    • Title: Name of the rule.
    • Description: Brief description.
    • Customer Group: Select applicable customer groups.
    • Store View: Choose store views.
    • Days: Select days when the restriction applies.
    • Shipping Methods: Choose which methods to restrict.
    • Conditions: Define custom conditions using the rule builder.
    • Dates: Set start and end dates if applicable.
  4. Save the rule and enable it.

The restrictions will be applied automatically during checkout based on the configured rules.

Support

For support, please contact ViraXpress at https://www.viraxpress.com or refer to the license agreement.

License

This extension is licensed under the ViraXpress license agreement. See https://www.viraxpress.com/license for details.