Conditional Logic enables the WP Data Sync API to manipulate your raw data based on a set of conditions.
Conditions are defined in Global Settings. You can configure as many conditions as needed.
How conditional Logic Works
Conditional Logic replaces a value with a different value based on the conditions applied. These conditions are applied to a data field based on the type of data, the data source, and if the data source is or is not the data source being processed.
Conditional Logic Parameters
- Data Types
- Data Source Is
- Data Source Is Not
- Data Source
Conditional Logic Examples
If Value Equals | Set Value To |
Sleeper Sofa | Sofa |
M269 | Guitars |
PROVIDER | Provider |
q2321 | model-432 |
Conditional Logic – Data Types
Conditional logic data types are the type of data field WordPress or WooCommerce use on your remote website. You can choose to apply to all data types or restrict the condition to a specific data type.

Conditional Logic – Data Source
Conditions can be applied to all data source, and if the data source is or is not the data source being processed.
