Set Compare At Price As The Old Price On Price Change in Shopify by Using
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 every time a product is updated. It checks to see if the price has changed and if the price has changed, sets the previous price as the compare_at_price. To achieve this, the automation uses a database value to cache the current value. The cached value is set to the compare_at_price and sets the new price to the cache on price change.
Protips: To get correct results for all the price changes, run the workflow for all your products on-demand for the first time to set the cache value.