There are more than 200 products in my collection, only 50 of them seem to display blurry coupons, and the rest are not displayed 😑Â
---------------------------------------------------- CORRECTED --------------------------------------------------
Â
Hi @yg
Katrine here from Plak Theme support,
Even if Shopify is an incredible resource for eCommerce, Shopify intentionally limits the number of products you can access in the collection object to 50 per page. But here is a solution :
Â
- From your Shopify dashboard, click Online store > Actions > Edit code
- Open the file blurry-coupon.liquid
- Search this code
{% for product in filter-code-show.products %}
- Add this code just above it
{% paginate collection.products by 1000 %}
- Search this code
{% endfor %}
- Add this code just below it
{% endpaginate %}
- Click Save
Â
Â
Â
Â
Â
Let me know if this trick worked 🙂
Best regards,
Katrine
---------------------------------------------------- CORRECTED --------------------------------------------------
@plaktheme I can't save it. This code"{% for product in filter-code-show.products %}" is already above code"{% if product.title == currentProductTitle %}"
Â
@plaktheme I can't save it. This code"{% for product in filter-code-show.products %}" is already above code"{% if product.title == currentProductTitle %}"
Â
Hi,
Sorry I made a mistake on my previous explanation 😫 , it is corrected now, you can follow the steps and everything will be ok 😎Â
let me know if it worked
Katrine
@plaktheme The code has been successfully added, but it does not seem to work.
What is going on here? 🤨Â
Â
Â
@plaktheme The code has been successfully added, but it does not seem to work.
There are about forty display coupons normally, some display borderlines, and the rest still do not display coupons.Â
What is going on here? 🤨Â
Â
Â
Since the "forloop solution" I gave above didn't work for you, I went to your store and changed some code to switch the condition from collection filtering to tags filtering.
I added the tag Blurry-coupon to this product to test it, and it works greatÂ
So for now, if you would like to display the blurry coupon for a product, just add the tag Blurry-coupon to it
Â
Let me know if it workedÂ
Kind regards,
Katrine
Welcome to the Shopify Forum Community provided by Plak ThemeLLC, a place where you can discuss about eCommerce and Shopify, solve technical issues, get help with Shopify Design, Apps integration, Marketing, Facebooks ad, Google ads and more.
Before posting, we invite you to read and follow the forum rules | We also support any questions related to Free Shopify themes :Dawn, Express, Minimal, Brooklyn, Narrative, Supply, Debut, Venture, Boundless and Simple