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!
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025