Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Setting up conditional shipping options based on products in cart

Setting up conditional shipping options based on products in cart

Vatra
Tourist
5 0 1

Hi everyone,

 

I need help with setting up my shipping options. Here’s the situation:

 

  1. I offer letter mail shipping for lighter products (Product A).
  2. For larger products (Product B), I offer express delivery with track & trace (package delivery).

 

The problem:
Currently, when a customer adds both types of products to their cart, an unknown shipping option called "Shipping" with a rate of "Free" is displayed. I need to ensure the following:

  • When only lighter products (Product A) are in the cart, the shipping option should always be letter mail.
  • When only larger products (Product B) are in the cart, the shipping option should always be express delivery.
  • When both types of products are in the cart, the shipping option should default to express delivery, as the larger product cannot be shipped via letter mail.

Right now, this setup is not working correctly, and the unknown shipping option is causing confusion. How can I configure my Shopify store to automatically apply these shipping rules based on the combination of products in the cart?

 

Thanks in advance for your help!

Replies 4 (4)

Mirdas
Shopify Partner
506 52 85

You can check the possibilities of combining shipping rates from different shipping profiles at checkout.

Co-Founder / CEO @ PluginHive
Shipping Automation | FedEx shipping | Multi-carrier shipping | Shipment Tracking | Australia Post shipping
Vatra
Tourist
5 0 1

Hi Mirdas,

 

We have found a potential solution by using a discount for free shipping based on order amount and setting shipping rules based on weight. However, I'm not 100% sure if it works perfectly yet. If you have any advice or suggestions, please let me know.

 

Best,


Mario

 

Mirdas
Shopify Partner
506 52 85

 

Configuring all the products under a single shipping profile and setting shipping rules based on weight is a good idea.

 

In this way, you can configure the weight for each product based on its characteristics. Lighter products (Product A) can be configured with very low weights, and larger products (Product B) can be configured with higher weights.

Co-Founder / CEO @ PluginHive
Shipping Automation | FedEx shipping | Multi-carrier shipping | Shipment Tracking | Australia Post shipping

Rohan-developer
Shopify Partner
42 0 0

Hello, you can easily set up conditional shipping options based on the products in the cart using the ShipRight app. Here’s how to do it:

 

  1. Open the app and click the "Add a new rule" button.
  2. Click "Add a new condition" and select the "Products" option.
  3. Choose "Hide if found", then add your larger products (Product B) in the "Products" field.
  4. Enter the letter mail (e.g., "Letter Mail") shipping option in the "Additional shipping methods" field.
  5. Finally, click the "Save" button.

lighter.png

That’s it! Now, the Letter Mail shipping option will be hidden whenever Product B is in the cart.