Tag products as on sale when the price is cheaper than the compare price in Shopify by using Arigato Automation
Automatically tag and categorize sale items below the compare-at price for effective categorization.
This automation fires when a product is updated or created in your Shopify store. It then compares the products current price to the products "compare at" price. If the price is lower than the compare at price, then the workflow will automatically add a tag to the product called "Sale". If the regular price is greater than or equal to the compare at price, then it removes that tag.
This workflow is great for automatically sorting sale items within your Shopify store.