If this tutorial is not what you were looking for, you still have any questions, suggestions or concerns - feel free to let us know. Please help us to serve you better!

Your Name

Your Email

Your Message (required)

captcha

Shopify. How to change number of related products on product pages

This tutorial will show you how to change number of related products on product page in Shopify.

Shopify. How to change number of related products on product pages

  1. Log into your admin panel of Shopify store.

  2. Navigate to Online store tab:

    Shopify_How_to_change_number_of_related_products_on_product_pages

  3. Choose Themes tab:

    Shopify_How_to_change_number_of_related_products_on_product_pages_1

  4. On the appeared screen click the “…” button and choose Edit HTML/CSS button:

    Shopify_How_to_change_number_of_related_products_on_product_pages_2

  5. Scroll to Snippet folder and find widget-related-products.liquid and open to edit it:

    Shopify_How_to_change_number_of_related_products_on_product_pages_3

  6. Find the following line at the beginning of the file:

    {% assign number_of_related_products_to_show = 4 %}
  7. Change 4 to the desired number of related products that you want to display:

    Shopify_How_to_change_number_of_related_products_on_product_pages_4

  8. Click Save button to save changes:

    Shopify_How_to_change_number_of_related_products_on_product_pages_5

  9. Refresh your product page to see changes.

Feel free to check the detailed video tutorial below:

Shopify. How to change number of related products on product pages