Products in promotions on the homepage

New Member
2 0 0

Hello,

I would like to show a number of promotional products on my homepage but I do not find how to sort among all the products.

Someone would have any idea ?

0 Likes

Hi @Pandigital 

 

You could do this. 

 

Create a collection called for example "popular products" 

Add the product you want to put on home page

 

Than on home page add a section called "featured collection" 

Select popular product collection 

 

Did that help ? 

 

Cheers 

Clayton Bates 

P.S If you want a awesome , extremely detailed , Free website review that will blow your socks off check out this link HERE or www.inspiresmallbusiness.com

1 Like
New Member
2 0 0

Not really.

I want to create a dynamic section.

I'm therefore looking to recover products from all collections that are on sale.

 

Ex for new products:

  {% assign products = collections.all.products | sort: 'publish_at' | slice: 0, countToDisplay%}

0 Likes

Hi @Pandigital 

 

What about this. Try building a automated sales collection with this condition 

 

Compare at price.JPG

 

Assuming all your sale items have compared prices this should work. If not reach out and I'll try to solve this problem for you. 

 

Clayton 

P.S If you want a awesome , extremely detailed , Free website review that will blow your socks off check out this link HERE or www.inspiresmallbusiness.com

0 Likes