Feature a subset of products using a menu

luisetto
Excursionist
12 0 2

I have the code that allows me to feature a subset of collections on a page and I want to use this same code but instead feature a subset of products. Can you help me to edit the code?

 

Thank youuu!!

 

{%- assign collection_item_width = 'medium-down--one-half post-large--one-third' -%}
{%- assign collection_width = 410 -%}

<div class="grid-uniform">

 {%- for link in linklists[page.handle].links -%}
   {%- if link.type == 'collection_link' -%}
     {%- assign featured = link.object.handle -%}
     <div class="grid__item {{collection_item_width}} text-center">
       {% include 'collection-grid-item' with collection_width: collection_width %}
     </div>
   {%- endif -%}
 {%- endfor -%}
</div>
Replies 0 (0)