Solved

Trouble migrating to Shopify Order Printer

ShopifyUserTM
Tourist
6 0 1

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
250 39 72

This is an accepted solution.

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

Open to help people out, just email me here or tag me by using "@" when posting your comment

View solution in original post

Replies 3 (3)

PaulMartin
Shopify Partner
250 39 72

This is an accepted solution.

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

Open to help people out, just email me here or tag me by using "@" when posting your comment
ShopifyUserTM
Tourist
6 0 1

That eliminated the error. Thank you!

PaulMartin
Shopify Partner
250 39 72

You're welcome!

Open to help people out, just email me here or tag me by using "@" when posting your comment