- Log into your admin panel of Shopify store.
- Navigate to Online store tab.
- Choose Themes tab.
- On the appeared screen click the “…” button and choose Edit HTML/CSS button.
- Scroll to Snippet folder and find widget-related-products.liquid and open to edit it.
- Find the following line at the beginning of the file:
{% assign number_of_related_products_to_show = 4 %}
- Change 4 to the desired number of related products that you want to display.
- Click Save button to save changes.
- Refresh your product page to see changes.
Leave A Comment?