Skip to main content
9 votes

Magento 2: Hide other shipping methods when free shipping is available

Use the extension ShippingTweaks.
Vitalii's user avatar
  • 608
6 votes

Magento 2: Hide other shipping methods when free shipping is available

Write a plugin to disable flat rate shipping method when free shipping is actually enabled based on cart sub total. <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-...
Maniprakash Chinnasamy's user avatar
6 votes
Accepted

Magento 2: Hide other shipping methods when free shipping is available

I had the same problem. Remove "Free Shipping" configuration because you don't need it (you already have "Cart Price Rules"). When your customer qualifies for free shipping it happens based on "Flat ...
Gabriel Silva's user avatar
4 votes
Accepted

Magento 2 > Get 'free shipping' minimum order value

You have to retrieve the good config path and use this method : https://magento.stackexchange.com/a/78473/33619 /** * @var \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig */ ...
Matthéo Geoffray's user avatar
4 votes

Magento 2: Hide other shipping methods when free shipping is available

etc/di.xml <type name="Magento\Quote\Model\ShippingMethodManagement"> <plugin name="vendor_module_plugin_model_quote_shipping_method_management" type="Vendor\Module\Plugin\Model\...
Developer Stanislav's user avatar
3 votes

Free shipping message bar for M2

Create a module with name STech_Freeshipping and create the files like below steps: Step 1: Create registration.php under: app/code/STech/Freeshipping/registration.php with below content: <?...
Sukumar Gorai's user avatar
3 votes

Magento 2: Using Cart Based Rules to apply Free Shipping only to specific products

You can set rules as In Condition You can use assign rule for each sku In Action select Free Shipping For matching items only
Priyank's user avatar
  • 7,712
3 votes

Magento 2: how to programatically set free shipping from an observer?

$address->setFreeShipping(true); should work if you apply it before the customer chooses the shipping method. otherwise, you have to play with order level or quote level quote level $...
Mohammed Abdelrasoul's user avatar
3 votes
Accepted

Autoselect free shipping option on checkout

To auto select free shipping on checkout page, you can override a javascript from Magento_Checkout module. for this you have to create your module, Namespace/Module/registration.php <?php \...
Keyur Shah's user avatar
  • 18.1k
3 votes
Accepted

Magento 2.3.2 free shipping cart rule not working

I did some research on this and while the documentation about free shipping for any order says you should add 'For shipment with matching items' value on the 'Free Shipping' dropdown, I found that ...
Diana's user avatar
  • 5,230
3 votes

Magento 2 Free Shipping Coupon

There is a combination of specific conditions for each scenario and the result will be somewhat different. In order to properly see the difference, my cart rule doesn't offer a discount amount, its ...
Diana's user avatar
  • 5,230
2 votes
Accepted

Free shipping should not work after applying discount coupon and total less than $50?

You need to modify the collectRates method of freeshipping For this copy Mage_Shipping_Model_Carrier_Freeshipping.php in local folder with same directory combination. and replace this condition :: ...
Manashvi Birla's user avatar
2 votes
Accepted

Issue with shopping cart rule. Please help

Shopping cart price rules like these can be a bit confusing. You have the top part set up properly. However, at the bottom, you need to restrict which products you want the free shipping to apply to....
Jeff Finkelstein's user avatar
2 votes

applying free shipping to in stock items only

I think you should modify the conditions class to achieve your goal. Take a look at the class Magento\SalesRule\Model\Rule\Condition\Product. There is 3 new options related to the quote item (not ...
Siarhey Uchukhlebau's user avatar
2 votes

How can i give free shipping order above RS.500 for only selected City

Out of the box Magento 1.x does not offer the ability to target a specific city with a shopping cart promotion. However, depending on your target region/city you could use a postal code. For example, ...
Eirik's user avatar
  • 2,073
2 votes

How do I configure a Cart Rule for Free Shipping in Magento 2?

Try the following steps: Set Apply to “Percent of product price discount. Set Apply to Shipping Amount to “Yes.” Set Free Shipping to “For shipment with matching items.” For more details, go ...
Anshu Mishra's user avatar
  • 8,990
2 votes

Magento 2.2.1 - Remove Free Shipping for a Specific Product

Assume that you have to manage free shipping using Magento Free Shipping Method Not using Cart rules. Create a Plugin in Magento\OfflineShipping\Model\Carrier\Freeshipping and Create around plugin ...
Amit Bera's user avatar
  • 77.6k
2 votes

Magento 2 Exclude Free shipping method for specific products

Vendor/Module/etc/di.xml <?xml version="1.0" ?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:...
Ronak Rathod's user avatar
  • 6,426
1 vote

Free shipping with flat rate shipping at magento 2

If you want under a certain amount to have specific shipping but over a specific amount to be free, I would recommend giving a look at Table Rates. These can accomplish specifically what you're ...
Marisa's user avatar
  • 330
1 vote

Magento 2 Free Shipping Rules not Applying to FedEx

Magento 2 native FedEx module does not work with Cart Rules, simply because that option has never been implemented. When you go to the page below (Marketing > Cart Price Rule > Add New Rule) and ...
Andresa Martins's user avatar
1 vote

How to Debug Shopping Cart Pricing Rule Error?

Too long for a comment ... If this error is logged on save rule, I doubt you problem is related to conditions Warning: include(): Failed opening 'Mage/Displayfreeprice/Model/Freeprice.php' for ...
sv3n's user avatar
  • 11.7k
1 vote

How to Debug Shopping Cart Pricing Rule Error?

I would double check if the free shipping method is enabled in the store. Setting up the cart rule alone is not enough if the Free Shipping method is disabled it will not work Refer to this http://...
bjornredemption's user avatar
1 vote

How to Debug Shopping Cart Pricing Rule Error?

Apply this condition and check. CONDITIONS If ALL of these conditions are TRUE :  Shipping Postcode is 600094 ACTIONS Set “Apply” to “Percent of product price discount” Set “Discount Amount” ...
Nikunj Vadariya's user avatar
1 vote

If Free Shipping Replace Text with Free instead of $0.00 in Magento 2

You should not change the root/vendor files. Try to create a module/theme to change the required file: http://devdocs.magento.com/guides/v2.2/architecture/archi_perspectives/components/modules/...
Adrian Z.'s user avatar
  • 717
1 vote

Shopping Cart Price Rule - By Using selected SKU Free Shipping Not Working?

By default, Magento does not give us the option to assign free shipping to desired items/products. In this example, we will use attribute to add Free Shipping option. 1. Let’s add free shipping ...
stalinrajindian's user avatar
1 vote
Accepted

Need to override Free shipping method

Take a look at the Magento\OfflineShipping\Model\Carrier\Freeshipping class located at magento/module-offline-shipping/Model/Carrier/Freeshipping.php: /** * FreeShipping Rates Collector * * @param ...
Siarhey Uchukhlebau's user avatar
1 vote

How can i give free shipping order above RS.500 for only selected City

You can use magento table rate for this You can use tablerate as price vs destination Take a look this tutorial http://docs.magento.com/m2/ce/user_guide/shipping/shipping-table-rate.html
Murtuza Zabuawala's user avatar
1 vote

Disable freeshipping for 2 states in USA

You can use "is not" option instead of "is" and apply free shipping for all other so it will be worked. Check below image for more information. Check following for Action tab
Aasim Goriya's user avatar
  • 5,454
1 vote
Accepted

Set shipping method to all cart

To auto select free shipping on checkout page, you can override a javascript from Magento_Checkout module. You can achieve this by two way 1] By creating your module, Namespace/Module/registration....
Keyur Shah's user avatar
  • 18.1k
1 vote

FedEx free shipping by minimum weight

You can use a shopping cart price rule with no coupon code to automatically apply in the cart when certain criteria are met. Create a new rule In the Rule Information tab, set no coupon in the ...
Steven J's user avatar
  • 808

Only top scored, non community-wiki answers of a minimum length are eligible