Skip to main content
Conditional rules

How to set up conditional rules

Ha Ngan Nguyen avatar
Written by Ha Ngan Nguyen
Updated over a month ago

While it’s common to have multiple production types and positions built into your Workflows and Style Guides, we understand that not all products have the same image requirements. This is where conditional rules come in. Conditional rules allow you to turn specific production types and positions on or off based on your product data.

To set conditional rules, go to ‘Style Guides’ under the Production tab, then 'Edit' next to the relevant style guide.

Conditional rules for production types

To create conditional rules, go to Photography and click the 'three-cubes' icon next to the production type.

The settings box will appear for you to set the rules. You can set up the rules depending on:

  • Property: The properties you created under Studio settings

  • Source: When the source is Photo production or Vendor provided

Depending on the property type, if it is free text or a list of options, your settings here will be ‘equals’, ‘contains’, or ‘is empty’.

Note:

Values for setting up conditional rules are not case-sensitive.

With the above example, the production type will be enabled when:

  • The source is: Photo Production

  • Has the Brand: Brand X

  • And has the Color: Black

If the property type is set to date and date time, your settings will be ‘before’, ‘after’, or ‘equal to’, the value.

With this example, after updating the conditional rules, the On Model production type will be turned on only when a product meets all the following conditions:

  • Brand is GQ

  • Gender is not Unisex

  • Color contains Black

  • Marketing time is 18 Nov 2021

If the above conditions are not met, the On Model will be disabled automatically.

You can add more conditions to your rule by clicking ‘add section’. Creative Force will look for a match with the first clause and then move to the next one.

In our example below, the rule now has two clauses.

Once conditional rules are set, Creative Force will display that the production type has conditional rules with the alert shown below.

Conditional rules for positions

To create conditional rules for positions, click the 'Settings' icon next to the position and then choose ‘Conditions’.

With Production rule, you can choose to enable or disable this position when:

  • Producing an outfit

  • Not producing an outfit

This is useful when you want to provide additional shots for the ‘Shop The Look’ on your website.

For example, the below style guide has three positions: Front, Back, and Details. The last position has this condition set up: ‘Active when not producing an outfit’.

This means that when you scan product ZL09384-946, which has two outfits in Kelvin, the ‘Details’ position won’t be available.

With Property rule, you can set up conditions from all previously created properties.

With Source rule, you can choose between products with Photo production or Vendor-provided images.

Once the conditions have been set up for a position, Creative Force will show the three-cube icon to notify you.

Conditional rules for variants

In addition to production types and positions, you can now control when and if a variant is active based on: its data, a production situation, or its source.

Note:

For more information on using 'AND' - 'OR' logic, please see our article here.

Did this answer your question?