How to split by line item properties
Splitting Orders Based on Custom Line Item Properties
Overview
OrderSplit Pro fully supports splitting orders based on custom line item properties. Line item properties are typically passed from your storefront when customers add items to their cart - for example, custom engraving text, gift messages, or personalization options. OrderSplit can use these properties as splitting criteria.
Syntax for Line Item Property Rules
Use the LIP: prefix (Line Item Property) with the following format:
LIP:property_name:property_valueExamples
LIP:engraving:John
Line items where engraving equals John
LIP:gift_message:Happy Birthday
Line items where gift_message equals Happy Birthday
LIP:engraving:
Line items that have an engraving property (any value)
How It Works
1. Exact Key-Value Match
LIP:gift_message:Happy BirthdayThis will match any line item where the property named gift_message has the exact value Happy Birthday.
2. Key-Only Match (any value)
If you use LIP:property_name: (with the trailing colon but no value), it will match any line item that has the specified property, regardless of what the value is.
Important: The trailing colon is required. LIP:engraving: will work, but LIP:engraving will not.
Setting Up Split Rules
Navigate to the OrderSplit Pro dashboard
Create a new split rule
In the rule conditions/tags, add your line item property rule:
For engraved items:
LIP:engraving:For gift items:
LIP:gift_message:
Save the rule
This configuration will automatically split orders so that items with the specified property are separated into their own order.
Important Notes
Case Sensitivity
The property name and value must match exactly as they appear on the line item.
✅ If the property is
engraving, useengraving❌ Do not use
EngravingorENGRAVINGunless that's how it appears in the original property
Verifying Line Item Properties
To verify the property names and values on an order:
Open the order in Shopify Admin
Look at the line item details
Check the "Properties" section for each line item
Use the exact property name in your OrderSplit rule
Example Use Cases
Split items with custom engraving
LIP:engraving:
Split gift items
LIP:gift_message:
Split items marked as "preorder"
LIP:type:preorder
Split personalized items
LIP:personalization:
Need Help?
If you have questions about setting up line item property splitting rules, please contact our support team.
Last updated