Tag orders containing a sale product

You may wish to highlight orders that contain a sale product. Setting up a workflow using the Order contains a sale product criteria will help you to identify those orders.

This criteria will only match if the compare at price for the variant is greater than the line item price.

Please Note:

This criteria is not compatible with Backdating. Please see the Is this workflow compatible with Backdating? section at the bottom of this article for more details on why.

Selecting the criteria

To create a workflow using this criteria, click on the Create New Workflow button from the main Workflows view:

1-create-new-workflow-button.jpg

Define the trigger to determine at which point you would like the workflow to run, we recommend selecting the trigger when orders are created.

2-triggers-OT.jpg

Click the Add criteria to my workflow button:

2-workflow-criteria-section-button.jpg

The Order contains a sale product criteria can be found within the Order category in the Select criteria pop-up window:

order-contains-sale-product.jpg

Click the Use in your workflow button on the right to select this criteria.

You will then be presented with the following screen and options:

sale-product-options.jpg

Customising the criteria

You can choose if ANYALL or a MIX of the products in the order must be on sale for the criteria to match. Just select the radio button that meets your needs.

Excluding products from the criteria

To exclude products from being analysed if they are part of the order, use the Add products to selection button to select as many products to exclude from the criteria as you need.

Applying a tag to matching orders

Choose the name of the tag you'd like to see on all orders that match this workflow and enter it into the Add tags when the workflow matches section.

In this example we have used the tag Sale item included:

fixed-tag.jpg

Saving and naming your workflow

It's worth giving your workflow a name to help you identify it at a later date, so add a workflow name in the New Workflow section, check the summary of your workflow and if happy, either Test your Workflow against an existing order or hit Save Workflow:

named-workflow.jpg

Is this workflow compatible with Backdating?

Any workflows which use the Sale products criteria will not be available for backdating. This is due to the dynamic nature of product pricing, where some products go on sale frequently.

A product that was on sale at the time the order was placed might not be on sale at the point when the backdate is run. As Shopify does not record the compare at price of products at the time they were purchased, we don't know if the product was at full price or at a sale price when the order was placed.

Backdating can only look at the price that the product is at now, therefore, as this would return inconsistent results, we have decided to not make this available through our Backdating facility.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us