Extended Shipping Rates for Magento® 2.x
The Extended Shipping Rates module will help you customize shipping costs exactly as you wish. All kinds of price filters and conditions for displaying shipping methods will help you show the most current shipping price to your site visitors.
Do you want to have complete control over the delivery price depending on the region, date, holidays, discounts, etc.? The Extended Shipping Rates module for Magento 2 will help you with this.
Our module does not need additional modules to filter or limit the display of shipping methods on the checkout page. He himself knows how to create rules for showing his delivery methods.
The new feature is the price change according to the rules. You can create an infinite number of price rules in one shipping method. For example, you want to make the shipping cost 10% cheaper for the holidays, and 20% for the new year. Our module can handle this with ease. You can also specify restrictions on weight, the total price of the basket, the price of any item in the basket, etc. The number of rule combinations can reach several hundred.
With our module, you have truly limitless control over the shipping methods and costs. It is also worth considering that this module is fully compatible with all our Magento 2 modules.
To get a demo version of the extension, please contact our technical support. In the letter, indicate your name and surname, name of the extension, email address, and website URL. The demo is valid for 14 days. After 14 days, you agree to remove the extension demo from your site and from wherever it was installed.
Follow these steps to install the extension:
- Unpack the resulting archive to the root of your Magento site. As a result, you should have created such a folder [magento_root]/app/code/Extmag/ExtendedRates
- Run the following commands in the root of your Magento site:
- php bin/magento c:f
- php bin/magento s:up
- Log out and log back into the Magento admin interface
- Congratulations. The extension has been successfully installed.
To configure the extension, go to Extmag -> Extended Shipping Rates -> Configuration
In the Extended Shipping Rates group, you need to turn on the module and fill in the Title. The title can be changed for each shipping method.
If your store is in developer mode you set Debug to Yes.
If necessary, you can import or export shipping methods.
Using Shipping methods
Create a shipping method
To create the shipping method, go to Extmag -> Extended Shipping Rates -> Shipping Methods
Click the “Add New Shipping Method” button
Fill in the required fields and save the shipping method
Description - description of shipping method for admin. The description has to be unique.
Title - this field is the name of the shipping method that the buyer sees when placing an order at the shipping stage.
Title of Carrier - this field is the name of the carrier. The field overwrites the Title setting from the module configuration.
Active - Activate or deactivate shipping method at checkout.
Price - it is the price of shipping.
Websites - select stores for which this method will be applied.
Customer Groups - select customer groups for which this method will be applied.
Apply Cart Price Rules (Free Shipping) - if you have customized cart rules for free shipping and you want to apply them to this method, then enable this option.
Conditions - you can customize the rules for displaying the shipping method on the checkout page for many parameters, adding as many rules as you need.
Price Actions - final price formation rules. The rules are independent of each other. The lowest price is chosen. The creation of the Price Action will be shown below.
Date and Time Restrictions - displaying delivery methods only on specific dates or in a specific time period. Cyclic events are supported.
Application Frequency - the frequency of the date to display the shipping method.
Date From - start date and time of delivery method display.
Date To - the end date and time of the shipping method display.
Days of Week - if at least one item from the list is selected, then the delivery method will be shown only on these days of the week.
Create a Price Rule
To create the price rule, go to Extmag -> Extended Shipping Rates -> Price Rules
Click the “Add New Price Rules” button
Fill in the required fields and save the price rule
Title - the name of the price rule.
Price - it is a number or price pattern. If just a number is specified. The shipping method price will be replaced by the number entered here. If you entered a template in this field, then the actions according to the template will be applied to the shipping price.
Conditions - the rules under which this price rule will be applied.
empty (blank): leave blank if you do not want to apply an additional price to the base shipping price.
0: the shipping method becomes free.
20: enter any price and this price will be shown instead of the base shipping price.
-20: enter a number with a minus sign in front and the base price will be reduced by the number entered.
+20: enter a number with a plus sign in front and the base price will be increased by the number entered.
-10%: enter a number with a minus sign in front and a percentage sign at the end, and the base price will be reduced by a percentage equal to the entered number.
+20%: enter a number with a plus sign in front and a percentage sign at the end, and the base price will be increased by a percentage equal to the entered number.
max20: enter a number with a "max" prefix in front and the final price will be less than or equal to this number.
min20: enter a number with a "min" prefix in front and the final price will be greater than or equal to this number.
Numbers 20 and 10 are given as an example. In your case, these can be any numbers.
Displaying the shipping method on the checkout page
Fixed deprecated PHP function array_key_exists for objects
Added Date and Time
Restriction for Price Rule
Reformat code with the new style
A new parameter "Allowed areas" have been added that allows you to show the delivery method only in the admin panel
Added a link to the price rule edit page from the delivery method edit page