Can shipping step and info be removed from checkout in Magento for a product with Free Shipping rule set?

Can shipping step and info be removed from checkout in Magento for a product with Free Shipping rule set?

October 18, 2026 · Illustrated author avatarBy Stefan Bogdanescu
Can shipping step and info be removed from checkout in Magento for a product with Free Shipping rule set?

Optimizing Magento Checkout: Removing Shipping Steps for Free Shipping Products

As an experienced e-commerce developer, I often encounter situations where clients want to streamline their checkout process for products that qualify for free shipping based on shopping cart rules. In Magento, by default, the system expects users to select a shipping method even if the product is eligible for free shipping through a rule set.

Understanding the Default Behavior

When you apply a Shopping Cart Price Rule with a free shipping option enabled, Magento still displays the shipping step and methods during checkout. This occurs because the core functionality is designed to handle multiple scenarios simultaneously—it doesn’t differentiate between products that have already been discounted for free shipping and those that haven’t.

The Core Issue: Shipping Method Selection Persistence

The problem lies in how Magento’s shipping method calculation works. Even if a product qualifies for free shipping, the system still retrieves all available shipping methods from carriers like UPS or FedEx, which are then displayed to the user during checkout. This often leads to confusion and unnecessary steps in the purchasing process.

A Pragmatic Solution: Bypassing Shipping Method Selection

To optimize this flow, you can implement a custom module that bypasses the shipping method selection for products eligible for free shipping due to your Shopping Cart Price Rule. Here’s a high-level approach:

  1. Identify the Free Shipping Product: Use Magento’s event observers or plugins to determine if the cart contains a product with a specific SKU or attribute that qualifies it for free shipping via the rule set.

  2. Remove Shipping Methods: Create an observer that listens for the sales_model_service_quote_address_shipping_rates_request event. In this observer, check if the free shipping condition is met and return an empty collection of rates to bypass the shipping method selection step entirely.

  3. Update the Checkout Layout: Modify the checkout layout XML file (app/design/frontend/{YourPackage}/{YourTheme}/layout/checkout_index_index.xml) to hide the shipping step or methods block using the Magento 2 XML layout update mechanism if the free shipping condition is met.

Here’s a simplified example of an observer method:

public function execute(Observer $observer)
{
    $quote = $observer->getEvent()->getQuote();
    $items = $quote->getAllItems();

    foreach ($items as $item) {
        if ($item->getSku() == 'PRODUCT-SKU-FOR-FREE-SHIPPING') {
            $ratesCollection = $observer->getEvent()->getRatesCollection();
            $ratesCollection->setItems([]);
            break;
        }
    }

    return $this;
}

Best Practices and Further Optimization

While this approach resolves the core issue, it’s crucial to ensure that your custom module is well-architected to avoid conflicts with third-party extensions or Magento updates. Consider using a proper plugin architecture and avoiding direct modifications to core files.

Additionally, you might want to explore advanced shipping configurations like creating a fixed price for free shipping or utilizing flat rate methods more effectively. For detailed guidance on configuring shipping in Magento 2, I recommend checking out the comprehensive guide available at Laravel Company’s Magento Services page.

Conclusion: Streamlining Checkout for Free Shipping Products

Removing unnecessary shipping steps during checkout is a powerful way to enhance user experience and improve conversion rates. By leveraging Shopping Cart Price Rules in conjunction with custom modules, you can create tailored experiences that simplify the purchasing process.

The key takeaway is to understand Magento’s core behavior around shipping and then implement targeted solutions using events and layout updates to optimize specific product scenarios. Always remember to keep your customizations modular and well-documented for easier maintenance and upgrade processes.

As a final note, if you’re looking for expert assistance in optimizing your Magento store’s checkout process or any other development needs, don’t hesitate to reach out to our team at Laravel Company. We specialize in delivering high-quality e-commerce solutions tailored to your unique business requirements.

Checkout Catalog Performance Extensions

Our network