Is their a way to add default filter to the products using the Shopify app?

zilehuda
Tourist
17 0 2

Hey dev, how you guys are doing?

Question:

  • Is their a way to add default filter to the products display using the Shopify app?

Example:

Admin add a labels to products using Shopify app and products will be displayed accordingly

product_a -> label:show

product_b -> label:dont_show

 

Now when end user open store, then only product_a will be display to him because it has label:show

Replies 2 (2)

LitExtension
Shopify Partner
4860 1001 1135

Can you send me check code, because it can show only product_a tag instead of label:show.
I will help you check and change it correctly.
And this is a simple change, so i don't think i need to add app or anything big.
Hope it helps!

LitExtension - Shopping Cart Migration Expert
Check out our Shopify migration app to migrate your online store to Shopify
zilehuda
Tourist
17 0 2

Thank you for your response. I am creating an app and I want this to be done through my app.

So I want guidance on how we can do this using Shopify app coding.