Is there a limit on...
 
Notifications
Clear all

Is there a limit on the number of Blurry coupon?

7 Posts
2 Users
1 Reactions
856 Views
(@yg)
Eminent Member
Joined: 3 years ago
Posts: 31
Topic starter  

There are more than 200 products in my collection, only 50 of them seem to display blurry coupons, and the rest are not displayed 😑 


   
Quote
plaktheme
(@plaktheme)
Reputable Member
Joined: 5 years ago
Posts: 0
 

---------------------------------------------------- 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 --------------------------------------------------

Katrine | Technical support at Plak, Scrowp & Vantout
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as a Solved Solution


   
ReplyQuote
(@yg)
Eminent Member
Joined: 3 years ago
Posts: 31
Topic starter  

@plaktheme I can't save it. This code"{% for product in filter-code-show.products %}" is already above code"{% if product.title == currentProductTitle %}"

 


   
ReplyQuote
plaktheme
(@plaktheme)
Reputable Member
Joined: 5 years ago
Posts: 0
 
Posted by: @yg

@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

Katrine | Technical support at Plak, Scrowp & Vantout
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as a Solved Solution


   
ReplyQuote
(@yg)
Eminent Member
Joined: 3 years ago
Posts: 31
Topic starter  

@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? 🤨 




 

 


   
ReplyQuote
plaktheme
(@plaktheme)
Reputable Member
Joined: 5 years ago
Posts: 0
 
Posted by: @yg

@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

Katrine | Technical support at Plak, Scrowp & Vantout
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as a Solved Solution


   
ReplyQuote
(@yg)
Eminent Member
Joined: 3 years ago
Posts: 31
Topic starter  

@plaktheme It worked, thank you 😊 


   
plaktheme reacted
ReplyQuote
Share:

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