how to show more products in the 'You May also like Section' in DAWN

Solved

how to show more products in the 'You May also like Section' in DAWN

Thecozyliving
Excursionist
28 0 8

how to show more products in the 'You May also like Section' 
It's currently showing 10 items ! 

Accepted Solution (1)

dws_pvt_ltd
Shopify Partner
329 65 91

This is an accepted solution.

Hello @Thecozyliving, Go to Online store -> Open Theme -> Go to Theme customisation -> Open "related-products.liquid" section file -> Find section schema settings of "products_to_show" and set max value that you want to add.

download (51).png

 

Feel free to reach out if you have any questions or need assistance.
Best Regards,
DWS.

Helpful? then please Like and Accept the Solution.
For any inquiries, please feel free to contact via WhatsApp and Email: sales@dolphinwebsolution.com.
For more information visit our website Dolphin Web Solution Pvt Ltd.

View solution in original post

Replies 8 (8)

dws_pvt_ltd
Shopify Partner
329 65 91

This is an accepted solution.

Hello @Thecozyliving, Go to Online store -> Open Theme -> Go to Theme customisation -> Open "related-products.liquid" section file -> Find section schema settings of "products_to_show" and set max value that you want to add.

download (51).png

 

Feel free to reach out if you have any questions or need assistance.
Best Regards,
DWS.

Helpful? then please Like and Accept the Solution.
For any inquiries, please feel free to contact via WhatsApp and Email: sales@dolphinwebsolution.com.
For more information visit our website Dolphin Web Solution Pvt Ltd.
Thecozyliving
Excursionist
28 0 8

it worked to increase the number on the product customization page, but it's not showing more than 10 ! 
any idea why? 

Thecozyliving_0-1726054540724.png

 

dws_pvt_ltd
Shopify Partner
329 65 91

It works perfectly with this code please sent a detailed information or screenshot of code where you place the limit.

Helpful? then please Like and Accept the Solution.
For any inquiries, please feel free to contact via WhatsApp and Email: sales@dolphinwebsolution.com.
For more information visit our website Dolphin Web Solution Pvt Ltd.
Thecozyliving
Excursionist
28 0 8

i changed 10 to 20 here 

 

Thecozyliving_1-1726055225782.png

 

dws_pvt_ltd
Shopify Partner
329 65 91

Okay, I see.
Now please check the number of your related product of yours in the admin back-end side. Because if the number of related/recommended products will be less then or equal to 10 then it will show only that number of products to the front-side. So it must having the more number of product in the related/recommended product admin back-end side. Please check whether it comes from the search and discovery apps Recommendations products or it comes somewhere else.

 

Helpful? then please Like and Accept the Solution.
For any inquiries, please feel free to contact via WhatsApp and Email: sales@dolphinwebsolution.com.
For more information visit our website Dolphin Web Solution Pvt Ltd.
dws_pvt_ltd
Shopify Partner
329 65 91

@Thecozyliving, See there is only limit to 10 in the search and discovery app. It will not allow to select more than 10.

dws_pvt_ltd_0-1726055699930.png

 

Helpful? then please Like and Accept the Solution.
For any inquiries, please feel free to contact via WhatsApp and Email: sales@dolphinwebsolution.com.
For more information visit our website Dolphin Web Solution Pvt Ltd.
Thecozyliving
Excursionist
28 0 8

Yes i figured this is the problem, but your method works if im not using the search and discovery app! Thanks a lot anyways much appreciated for the help 🙂  

Tech_Coding
Shopify Partner
287 72 64

Hello @Thecozyliving 

To show more products in the "You May Also Like" section in the Dawn theme, you'll need to make a few adjustments. Here's how you can do it:

  1. Go to the Shopify Admin Panel:

    • Navigate to Online Store > Themes.
  2. Edit Code:

    • In your theme (Dawn), click on Actions > Edit Code.
  3. Find the "related-products" section:

    • Search for the file named related-products.liquid under the Sections folder.

 

Adjust the Product Limit:

Look for a line in the file that sets a limit on how many products are displayed, something like this:
Tech_Coding_0-1726053928606.png

Save Changes:

After adjusting the limit, click Save.

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Shopify UI Developer
Your Coffee Tips adds a little sweetness to my day.