For years, I have had on our Order Printer pick list the various options (in most cases, color and/or size) listed separately. Rather than as a variant title, like FANCY SHIRT, BLACK / LARGE, I had FANCY SHIRT, BLACK, and LARGE each in its own column. This has significantly improved our accuracy in getting the right item to the customer.
The Liquid object I’d been using was {{ line_item.variant.option1 }} ( and …option2). This wasn’t documented anywhere as far as I know, but it worked beautifully… until a few days ago.
I want the options to appear individually on lists, as they have, but nothing I’ve tried is working. I’ve seen suggestions to use a for loop with line_item.options_with_values (or product.options_with_values or variant.options_with_values), but none of them have worked.
This is inside a {% for line_item in line_items %} loop and, again, I need each option individually, not the variant title. What I had was (taking out all formatting and conditionals):
We have the same issue - was working for years until this weekend. Can Shopify please let us know what we can do to fix this? Option1 and option2 no longer work for us.
We are having the exact same issue, order printer has stopped showing variant names and instead title only since the weekend. Any assistance on how to fix this issue would be much appreciated.
We contacted the dev team and got the following response: This has been investigated by our developers and they have already implemented a fix.
As of this writing, it is not working for us. Is either of you having any luck? They provided a list of things we should try. but we have not had a chance to run through them yet.
Here’s what we were told:
This should be resolved but if ever this is persisting on your end, I would suggest trying these troubleshooting steps that I have prepared for you:
Clear your cache and cookies on your browser. After this, completely reboot the browser.
When using incognito, if you are still experiencing a display issue, confirm you have disabled browser extensions as these can change how the pages look.
Ensure the web browser is up to date on the latest version (we don’t support every browser, but we do support these ones.)
Try another device like another computer or mobile phone.
I just checked and without having done any of the steps above, our Order Printer is again showing the variant options, as before. Take a look. Hopefully it’s fixed for you, too.
I wrote an Order printer Template last month, and it has been working normally, but it has been abnormal since this month, mainly because it is mentioned in the two places below.
one is: {{ line_item.variant.barcode }}
one is: {{ line_item.image | img_url: ‘thumb’ | img_tag }}
I tried changing browsers and clearing the browser cache, but it still doesn’t show up.
I didn’t do anything. It was either a temporary issue or someone at Shopify realized they broke something and fixed it. It just started working for me one day.