Question
How to update price on new arrival products that added into the same collection which already has price updated on older items without updating price on the same product twice?
Solution: filters
There are a few methods that you could achieve this based on how the newly added products are managed.
If they all have a unique tag, you could filter them by using both “Collection is” and “tagged as”. So the edit will only update those products.
Or if you know when they were added, then you could do the following. Either filter the product based on the date/time they were created in Shopify store, or you could define the number of hours that they were created within. Please refer to the 2 screenshots below.
Additional Question: what if I don't have a fixed time to update my products?
I'm using an app that automatically syncs newly added products from different suppliers to my Shopify every day, or few times a day. Therefore, it's not easy to know the actual update times so these filter tricks don't work.
Solution: using tag to filter the products
You may be able to do these steps to achieve what you want. Please follow the logic with me to see if this would work in your case.
- Create a one-time tagging on products in “new arrival” collection. For example, tag them with “price_updated”.
- Create a daily scheduled job at 1:00 am. Update prices on products without “price_updated” tag in “new arrival” collection.
- Create a daily scheduled job at 1:05 am. Tag products with “price_updated” if products don't have tag “price_updated” in “new arrival” collection.
The first one-time job would assume products in the “new arrival” already with updated prices, and prevent them to be updated again.
As new products will be added to “new arrival” and they are without “price_updated” tag, so the daily job will look for them and change the prices. 5 minutes later, tag them with “price_updated” so everything will be marked again to prevent further update during the following days.