App reviews, troubleshooting, and recommendations
Hi Again! I have run into another syntax error with the template migration to Shopify Order Printer. The line of code is
{% if billing_address And billing_address != "" And billing_address != nil %}
Last time it was something really simple. Can someone advise me on how to correct this?
Thank you, in advance!
Solved! Go to the solution
This is an accepted solution.
Hello @ShopifyUserTM
use the "and" operator instead of "And" and use "blank" instead of "nil".
{% if billing_address and billing_address != blank %}
If the solution presented meets your needs and addresses your query effectively, I encourage you to accept it as the chosen answer. This will acknowledge the support you received and aid fellow community members in identifying reliable and effective solutions for their similar concerns.
Thank you.
This is an accepted solution.
Hello @ShopifyUserTM
use the "and" operator instead of "And" and use "blank" instead of "nil".
{% if billing_address and billing_address != blank %}
If the solution presented meets your needs and addresses your query effectively, I encourage you to accept it as the chosen answer. This will acknowledge the support you received and aid fellow community members in identifying reliable and effective solutions for their similar concerns.
Thank you.
That worked. Thank you!
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025