A user is experiencing an issue with the Ella theme (version 5.1.0) where the featured products section on the homepage displays 50 products instead of the desired 10-product limit.
Problem Details:
No built-in theme option exists to control this limit
Manual code modifications have been attempted but are ineffective
The code file shows the correct limit settings (appears to reference a range setting with max: 20, default: 10)
Despite correct code values, the frontend still renders 50 products
Technical Context:
The issue involves the home-featured-products.liquid section file
A screenshot shows code snippet with parameters including “slider_featured_all_limit”
Status: The problem remains unresolved, with the display behavior not matching the configured code settings.
Summarized with AI on November 12.
AI used: claude-sonnet-4-5-20250929.
I am facing problem featured product limit on elle theme 5.1.0, I want to set limit 10 products show in featured products on the homepage, but currently 50 products. There is no option on theme and also i am trying to sort out in code files, but still code show limit correctly, but still products showing 50
I understand the issue you’re facing the Elle Theme 5.1.0 doesn’t have a built in option to limit the number of featured products beyond the default.
The key thing to know is that the JSON setting you modified (slider_featured_limit_all) only controls the slider range in the theme editor, but the Liquid template that renders the products likely still has a hardcoded limit of 50 products.
To fix this, you’ll need to edit the Liquid file responsible for the featured products section Look for the loop that outputs products and add a limit filter using your theme setting
If you’d like, I can guide you step by step on exactly how you can solve this issue
Here’s how you can update the featured product limit in Elle Theme 5.1.0:
Go to Online Store → Themes → Actions → Edit Code.
Open the Liquid file for the featured products section. It’s usually named something like sections/featured-collection.liquid or sections/home-featured-products.liquid.
Look for the loop that outputs products. It might look like:
{% for product in collection.products %}
Replace it with a version that uses your slider setting for the limit:
{% assign limit_number = section.settings.slider_featured_limit_all %}
{% for product in collection.products | limit: limit_number %}
Save the file and refresh your homepage. Now it should display the number of products set in your theme editor (like 10).
@abdulaalee edit your post to remove the file url.
DO NOT share the entirety of a file for a paid theme, you do not have distribution rights for.
Theme sharing will get you banned off the forums or deplatformed from shopify itself.
Make the effort to provide SMALL relevant examples.
When trying to find matching code don’t search literally think it through and search in parts e.g. in collection, product in collection , {% for product in collection.products etc
There’s several instance of code like the following where you need to change the limit parameters value being used either with a hardcode value or by in turn doing the advanced work of changing how the settings behave.
{% for product in collections[section.settings.show_slider_featured_collection].products limit:section.settings.slider_featured_limit_all %}
Keep in mind the while the pagination limit can be set higher you really need to be asking yourself why are you forcing customers to load that much bandwidth and then making them dig through that many products.
Forcing higher and higher pagination is sign of a bad filtering set up , or poor information architecture etc etc
It’s how merchants end up making their sites look ramshackle and have poor performance.
Don’t make customers dig, respect peoples bandwidth.