Tag Products As On Sale When The Price Is Cheaper Than The Compare Price in Shopify by Using
This automation will add the On Sale tag every time the price of any variant is reduced below the compare_at_price. The workflow will also remove the tag once the price down is reverted.
You can now import the ".arigato" workflow file you downloaded into the app.
- Open the Arigato Automation app in your Shopify admin.
- Visit the "Import & Export" page within the app.
- Scroll to bottom and upload your file to import the workflow.
This automation is fired when a product is updated. It loops through all the product variants and checks for any prices lower than the "compare at" price. If any of the variants have a price lower than the "compare at" price, it tags the product with the "On Sale" tag.
If the tag already exists and none of the variants meet the condition, the workflow removes the tag.
This workflow is essential in segmenting and identifying current products with reduced prices and promotions.
Pro tip: To ensure that the tagging is correct, it's necessary to run a batch workflow across all the products, initially adding the tag if required.