Shopify themes, liquid, logos, and UX
how to show more products in the 'You May also like Section'
It's currently showing 10 items !
Solved! Go to the solution
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.
Feel free to reach out if you have any questions or need assistance.
Best Regards,
DWS.
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.
Feel free to reach out if you have any questions or need assistance.
Best Regards,
DWS.
it worked to increase the number on the product customization page, but it's not showing more than 10 !
any idea why?
It works perfectly with this code please sent a detailed information or screenshot of code where you place the limit.
i changed 10 to 20 here
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.
@Thecozyliving, See there is only limit to 10 in the search and discovery app. It will not allow to select more than 10.
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 🙂
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:
Go to the Shopify Admin Panel:
Edit Code:
Find the "related-products" section:
Adjust the Product Limit:
Look for a line in the file that sets a limit on how many products are displayed, something like this:
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.
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024