NEWDiscoverShipGoal– turn cart progress into bigger baskets
All articles

Why is a condition unavailable for my rule?

When a ShipWith condition is unavailable, it usually cannot be combined with the conditions already in the rule. Each rule runs on one Function input, and each input uses a different Shopify Function query, so it can read only the checkout data included in that query.

Shopify limits Function queries. ShipWith splits checkout data across several inputs to stay within those limits instead of loading every field into every Function. As a result, no single input provides every condition.

You do not choose the Function input yourself. ShipWith picks it from the rule's conditions: it keeps the current input while it supports all of them, and otherwise switches to the first input that does.

Greyed-out conditions in the picker

Select Add condition to open the condition picker. It lists every condition from every Function input, with a search field at the top.

Conditions that no input can run together with your existing conditions appear greyed out under Can't be combined with your existing conditions. You cannot select them. When you change a condition with its pencil, ShipWith ignores that condition in this check, so you can swap it for one that fits the rest of the rule.

To use a greyed-out condition, remove or change the existing condition that conflicts with it. If you need both in one rule, select Write to us in the picker.

The operators offered for a condition can also depend on your other conditions. For example, the collection operators for Cart contains exist only on Shipping input and Attribute input.

Common examples

  • Shipment subtotal requires Catalog input. That Function query reads the cost of the items in each shipment, so a split-shipping cart is checked one shipment at a time.
  • Cart weight (kg) requires Attribute input. That Function query reads each product variant's weight and weight unit.
  • PO Box and address line 2 are available with Standard input and Address input. Use Standard input to combine PO Box with a Cart contains condition.
  • Detailed destination checks such as city, phone number, and full address require Address input.
  • Customer total spent is not available with Standard input. Use Shipping input, Customer input, or Address input.
  • Customer input does not provide product conditions. Its Function query reads cart-line quantities but does not read product or variant data.
  • Shipping input does not provide line item discount conditions.
  • Zip code, which also covers other postal-code formats, is available with Standard input, Attribute input, Customer input, and Address input.
  • Cart currency is available with Shipping input and Address input.

Availability can differ even when two inputs both provide related data. For example, Shipping input provides order discount conditions but not line item discount conditions. The picker shows which conditions can be combined with what the rule already has.

Check the rule's Function input

The rule's sidebar has an Advanced card. Select Show advanced settings to see the rule's Function input. Select the pencil next to it to open Change function input.

Each function input reads different checkout data, so you can only pick one that supports all your conditions. Inputs that do not fit appear greyed out under Doesn't support your conditions.

The Function input is not locked. It can change on saved rules too, either when you change the conditions or from the Advanced card. You do not need to create a new rule to move to another input.