Best-selling, Sale, New arrivals AUTOMATED collections

Solved
Highlighted
New Member
6 0 0

So I want to make automated collections for best selling items, sale items, and new arrivals but have no idea how to do this. I know the method where you make a collection, add a general condition and sort by best selling, but I dont want all my products to show in the collection, I want to set a limit, basically. Same goes for new arrivals. Also would like the items in new arrival and best selling collections to be auto-removed after a certain amount of time passes. HELP!

0 Likes
Highlighted
New Member
5 0 0
I believe you can only tag them manually.
0 Likes
Highlighted

This can be done, but would require custom coding on the theme to implement correctly.

 

For example you can hide products if they are past a certain date.

{% assign date_published = product.published_at | date:'%s' %}
{% assign date_now = 'now' | date:'%s' %}
{% assign date_difference = date_now | minus: date_published %}
 
{% comment %} less than or equal 14 days add new{% endcomment %}
    {% if date_difference < 1209600 %}
We work on Shopify stores to improve, maintain, and build functionality across all store types.
- Reach Out To Us! | hello@storemedics.com
- Visit Our Site! | https://www.storemedics.com

If we helped, leave a Like / Accept Solution
0 Likes
Highlighted
New Member
6 0 0

this seems like something I can do, but where would I insert this code? I am new to coding

0 Likes
Highlighted
Shopify Partner
129 27 31

This is an accepted solution.

This app can create an automated new arrivals collection and keep it in sync: https://apps.shopify.com/newr

No coding required.

- Yes, we build Shopify Apps. Hit me with your idea: https://vellir.tech
- Let customers preview your products and easily add them to cart with Peek Mode
- Add free, good looking social share icons with built-in analytics to your store with Share Lab
- Manage your new arrivals with Newr
0 Likes