App reviews, troubleshooting, and recommendations
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hi!
I'm having trouble with a particular line of code when trying to migrate to the new Shopify Order Printer app. The code from the template is this:
{% unless price_index == "" && bold_var_ids == "" %}
I get a warning about this particular line having a syntax error. I can't find anything about any of this in the migration guide. Though, I'm not a developer, and I could easily be doing something wrong.
I would appreciate any assistance anyone can give me!
Solved! Go to the solution
This is an accepted solution.
There is no "&&" in Shopify Liquid, you might want to switch that into "and" then try again saving.
This is an accepted solution.
There is no "&&" in Shopify Liquid, you might want to switch that into "and" then try again saving.
That eliminated the error. Thank you!
You're welcome!