can i limitting only 3 products at homepage collection in brooklyn

Solved
Highlighted
Tourist
28 0 2

Hello, can someone help me to figur eout how to only show 3 or 4 products at my Homepage's collection?

and how to show my product line and price in 2 different lines.

im using brooklyn theme.

thank you!

0 Likes
Highlighted
Shopify Expert
420 43 47

This is an accepted solution.

Hello There, 

 

1. Go to featured-products.liquid
 
Find this code 
 
 {% for product in collections[section.settings.home_featured_products].products %}
            {% include 'product-grid-collage'  %}
{% endfor %}
 
 
  {% for product in collections[section.settings.home_featured_products].products %}
            {% include 'product-grid-item' %}
          {% endfor %}
 
 
Now, replace the above code with following:
 
 {% for product in collections[section.settings.home_featured_products].products limit:3 %}
            {% include 'product-grid-collage'  %}
{% endfor %}
 
  {% for product in collections[section.settings.home_featured_products].products limit:3 %}
            {% include 'product-grid-item' %}
          {% endfor %}
 
add css for theme.scss.liquid file
 
span.grid-product__price-wrap {
    display: block!important;
}
Want to modify or develop new app, Hire us.
If helpful then please Like and Accept Solution .
Email: support@zestard.com
Shopify Apps URL :- https://apps.shopify.com/partners/zestard-technologies
Custom Modifications Into Shopify Theme | Shopify Private App | SEO & Digital Marketing
0 Likes
Highlighted
Tourist
28 0 2

wow! works like wonder! thankyou

0 Likes