gators
July 16, 2022, 4:42pm
1
I added a custom field with custom liquid to my product page but how do I show it only for certain products?
https://followgator.myshopify.com/products/100-instagram-followers
I added this around the code {% If product.title == “Instagram Username” %} {% endif %} but it says “This code has errors. Correct the syntax to save your custom Liquid.”
Hi @gators
Try this {% If product.title contains “Instagram Username” %} instead of {% If product.title == “Instagram Username” %}
gators
July 17, 2022, 12:03am
3
no because I’m putting it in custom liquid box I think it’s not accepting it
It looks like you have used capital I in {% If %} please use smallcase if
1 Like