Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Liquid - Product Description Null Check Not Working #1803

Open
maagsdesigns opened this issue May 25, 2024 · 0 comments
Open

Liquid - Product Description Null Check Not Working #1803

maagsdesigns opened this issue May 25, 2024 · 0 comments

Comments

@maagsdesigns
Copy link

maagsdesigns commented May 25, 2024

If condition in below code is failing: (Even when the description is blank, it print "About the product" header)

{% if product.description != "" and product.description != nil %}
About the product
{{product.description}}
{% endif %}

I have tried product.description != blank as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant