• USD
  • Dutch
Restrict Shipping Based on Product & Cart Attributes in Magento 2

In this article, we will discuss about how to restrict shipping based on product and cart attributes. Before we share the steps, let’s discuss why you may need this feature in the first place.

Why Restrict Shipping Based on Product & Cart Attributes?

You may need to use this feature for several reasons, including:

Compliance

Certain products cannot be shipped in the same way as others. For example, hazardous or perishable items require extra care. It may be that only a few carriers are authorised to handle such materials. Thus, the store owner has no option but to restrict non-authorised shipping providers.

Customer Satisfaction

Suppose a customer placed an order through a specific shipping company. Later, the customer is informed that the shipping provider does not the selected area or is currently unavailable. Do you think the customer will return to your store in the future? The most likely answer is no. Thus, this feature can be used to display the most relevant and available shipping providers based on the cart content.

Order Fulfilment

This point is applicable for large stores who have multiple warehouses across different regions. Suppose a customer orders item A. It turns out that the product is only stored in Warehouse 1, where only one shipping company operates. By restricting other shipping companies based on the product attribute, store owners can ensure prompt delivery and avoid cancellations.

Magento 2 Hide Shipping Method Based on Product & Cart Attributes

The Magento 2 Shipping Restrictions Extension by FME provides a perfect solution to put an effective & flexible shipping strategy in place for your store. The extension lets you create a big amount of shipping rules using various limitation criteria based on customers, cart and product attributes. The following image shows which attributes you can use to restrict your shipping on.

restrict-shipping-magento-2

The extension allows store admins to create custom rules and apply them on all possible attributes.

How to Use the Extension to Restrict Product Based Shipping?

  • After you log into the extension’s backend, go to FME Extensions -> Manage Restriction Rules.
  • On the grid, all the custom restriction rules are displayed. You can see the ID of the rules, their Name, Message, Priority, Created & Modified date and the Status in one place.
  • To create a new rule, click Add New Rule.
  • Under the Conditions tab, set the condition according to which the rule will be applied. In this case, select Product Attribute Combination in the dropdown to see all the possible product attributes and apply conditions on any of them.

Restrict Shipping Based on Cart Attribute

The extension allows restrictions on cart attributes as well. Hide shipping methods on carts with a specific amount, quantity and weight as shown below.

Final Thoughts on Shipping Restrictions Magento 2

This concludes our article on Magento 2 shipping restrictions based on product and cart attributes. As discussed above, this feature can come handy in various situations, especially when dealing with hazardous or perishable goods. If you wish to know more about the extension or want to discuss potential customisations in it, reach out to our support team . Thank You.

This blog was created with FME's SEO-friendly blog