Trouble migrating to Shopify Order Printer

Solved

Trouble migrating to Shopify Order Printer

ShopifyUserTM
Tourist
7 0 2

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!

Accepted Solution (1)

PaulMartin
Shopify Partner
597 59 144

This is an accepted solution.

There is no "&&" in Shopify Liquid, you might want to switch that into "and" then try again saving.

contact@paulmartinlopez.com
Feel free to email me! 😄
I'm open to conversations or work ʕ •ᴥ•ʔ

View solution in original post

Replies 3 (3)

PaulMartin
Shopify Partner
597 59 144

This is an accepted solution.

There is no "&&" in Shopify Liquid, you might want to switch that into "and" then try again saving.

contact@paulmartinlopez.com
Feel free to email me! 😄
I'm open to conversations or work ʕ •ᴥ•ʔ
ShopifyUserTM
Tourist
7 0 2

That eliminated the error. Thank you!

PaulMartin
Shopify Partner
597 59 144

You're welcome!

contact@paulmartinlopez.com
Feel free to email me! 😄
I'm open to conversations or work ʕ •ᴥ•ʔ