New Shopify Certification now available: Liquid Storefronts for Theme Developers

Create a Shopify cart rule

AASampaio
Visitor
2 0 0


How can I create a Shopify cart rule where I can't mix product categories?
Example: the customer will not be able to have surfboards and t-shirts in his cart, or has a surfboard or has a tshirt, because the shipping cost is different in both categories.

Replies 2 (2)
sniper2804
Shopify Partner
298 20 49

Why don't you just add up the shipping prices for both the types of product when they are in cart, instead of blocking the customers on checkout?

Automate & bulk assign products to shipping profile: Auto Shipping Profiles: Shipr
Calculate accurate shipping rates: Shipping Calculator: ShipMagic
AASampaio
Visitor
2 0 0

Because the processing of surfboards is different from t-shirts, for example: different carriers etc...