viraxpress / shippingrestriction
ViraXpress Shipping Restriction module for Magento 2
Package info
github.com/viraxpress/ShippingRestriction
Type:magento2-module
pkg:composer/viraxpress/shippingrestriction
Requires
- php: ~8.1.0||~8.2.0||~8.3.0||~8.4.0
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
-
Install the extension via Composer:
composer require viraxpress/shippingrestriction
-
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
- Go to ViraXpress > Shipping Restriction in the Admin panel.
- Click Add New Shipping Restriction Rule to create a new rule.
- 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.
- 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.