Shipping Restrictions - Magento 2

Shipping Restrictions - Magento 2

 

 

Firefox user notice:

Please use another web browser to view this document.

Sorry for the inconvenience.

Magento 2 Shipping Restrictions enhances native Magento functionality meant to specify shipping methods at checkout against a variety of criteria. The extension adds the Customer Group criterion. Now vendors are able to specify which shipping methods are to be shown at checkout depending on shopper's belonging to a particular customer group. 

Compatibility: Magento Open Source 2.3.X - 2.4.X, Magento Commerce 2.3.X - 2.4.X 

Product Page

Thank you for choosing Aheadworks!


Installing Magento 2 Shipping Restrictions

 

Command Line Installation

Composer Installation

Command Line Installation

Composer Installation

1. Backup your web directory and store database

2. Download the Shipping Restrictions installation package

 3. Upload contents of the Shipping Restrictions installation package to your store root directory

 4. In SSH console of your server navigate to your store root folder:

cd path_to_the_store_root_folder

run:

php -f bin/magento module:enable Aheadworks_ShippingRestrictions

then:

php -f bin/magento setup:upgrade

after:

php -f bin/magento setup:static-content:deploy

5. Flush store cache; log out from the backend and log in again

Make sure the installation is done from the FTP administrator account. Otherwise, set 775 permissions to the store root directory after the extension is deployed.

If you are installing an extension from Aheadworks for the first time, you need to add our composer repository to your Magento store:

1. Login to your ssh console and navigate to your store folder:

cd path_to_the_store_root_folder

Run the following command:

composer config repositories.aheadworks composer https://dist.aheadworks.com/

On successful execution of the command you will be able to use the composer to install the extensions.

To install the extension:

2. Login to your ssh console and navigate to your store folder:

cd path_to_the_store_root_folder

 3. Run the following command to install the latest version of the extension:

composer require aheadworks/module-shipping-restrictions

if you need to install a specific version, run this command:

composer require aheadworks/module-shipping-restrictions:<version>

Specify the version of the extension in <version>

When prompted, enter Public Key (Username) and Private Key (Password):
screenshot-1.png

Both Public Key (Username) and Private Key (Password) can be found in the Composer Access page in your personal account on our site:
image-20190522-140823.png
Note that the password will not be displayed for security reasons.

4. Enable the extension:

php -f bin/magento module:enable Aheadworks_ShippingRestrictions

Next, register the extension:

bin/magento setup:upgrade

Recompile your Magento store if you are in the Production mode:

bin/magento setup:di:compile

To verify that the extension is enabled, run this command:

bin/magento module:status

Clean store cache, by running the following command:

bin/magento cache:clean

Log out and Log in the backend again.

To upgrade the extension:

5. To update or upgrade an extension:

Download the updated extension file. Take note of the module-name and version. Export the contents to your Magento root.

If a composer package exists for the extension, run one of the following.

Update per module name:
composer update aheadworks/module-shipping-restrictions
Updater per version:
composer require aheadworks/module-shipping-restrictions:<version>

Run the following commands to upgrade, deploy, and clean the cache.

php bin/magento setup:upgrade --keep-generated php bin/magento setup:static-content:deploy php bin/magento cache:clean

 


Introducing the Magento 2 Shipping Restrictions

 


Using Magento 2 Shipping Restrictions

 


Uninstalling Shipping Restrictions

Need Customization?

You can always find the latest version of the software, full documentation, demos, screenshots, and reviews on http://aheadworks.com
License agreement: https://aheadworks.com/end-user-license-agreement
Contact Us: https://aheadworks.com/contact
Copyright © 2021 Aheadworks Co. http://www.aheadworks.com