Add newsletter list just for 1 collection

Hi, im trying to add a newsletter sign up form for one of my collections product page but when I do it, it keep duplicating it to my other collection page too, how do I fix this?

Thank You!

Hi @jayshew0 ,

This is Richard from PageFly - Landing page builder, I’d like to suggest this idea:

If you want to display the newsletter form in any collection, add a condition around the newsletter form.

{% if collection.handle == 'handle_1' or collection.handle == 'handle_2' or collection.handle == 'handle_n' %}
Code here
{% endif %}

handle_1, handle_2, handle_n → To get these demo handles, go to admin → Collection here, then copy the handle to replace it.

I hope it would help you
Best regards,

Richard | PageFly

Hey, @jayshew0

I’m not formally trained in code to provide you with an exact solution to add a newsletter signup form to a specific collection page. However, I’m confident one of our Shopify experts would be able to accomplish this at a reasonable price.

If there is anything else I can help you with, please let me know.