Tag based on the total quantity of line items in the order

If you'd like to tag orders depending on the total quantity of line items there are in the order, then our Total quantity of items in the order criteria can do just that.

The total quantity of items number is calculated by adding together all of the quantities of line items within an order. This is different to our number of line items in an order criteria.

When configuring this criteria, you can choose if you want the total quantity of items to be:

  • Greater than
  • Greater than or equal to
  • Less than
  • Less than or equal to
  • Equal to

...a number that you specify.

How to use 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

Select the Workflow Criteria button:

2-workflow-criteria-section-button.jpg

The Total quantity of items in the order criteria can be found within the Order category in the Select criteria pop-up window:

order-criteria.jpg

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

You will then be presented with the following conditions to select from:

criteria-options.jpg

Popular use case:

For illustration purposes, let's say that we'd like to tag any order where the total quantity of items in an order is over 6.

Select Greater than from the available options:

mceclip2.png

Add  6 as the value.

great-than-6-items.jpg

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 Large Order:

fixed-tag.jpg

Click on the  Add fixed tag button.

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:

name-workflow.jpg

Each new order will be checked to see if the total quantity of items in the order is Greater than 6. If there are, the order will be tagged with the name of the fixed tag that you have selected.

Backdating

This criteria option will work when Backdating your orders.

Dynamic Tagging

The Total quantity of items in the order value can not currently be applied to the order as a Dynamic Tag.

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