I’ve looked at available variables for the packing slip and my initial investigations says this isn’t possible but I’m hoping someone can confirm. I’d like to add the following to our packing slips. We have three items that require a custom patch and need employees to know to patch before shipment. If I can show this tag under the relevant item, it would reach my goal. However, I’m not sure I can achieve this.
{% if item.product.tags contains ‘AuthenticItem’ %}FEATURES AUTHENTIC ITEM PATCH{%- else -%}
{{ item.product.tags }}
{% endif %}
1 Like
HI @tshirtdev ,
Can you please explain more the feature you want implement?
I doing understanding, for each product you have a tag different, and you want when user add each product into cart, so the tag will also show on each product in cart, right?
Hi @tshirtdev ,
You want to add a notice on the packing slip through the product tag.
Will it show up here?
You can’t add conditions with the product tag here, if you want, you can just add conditions with properties, or you can add conditions directly with the product name. Refer https://help.shopify.com/en/manual/shipping/setting-up-and-managing-your-shipping/packing-slips-variable-list
Refer code with product name:
Code:
{% if line_item.title == 'product name 1' or line_item.title == 'product name 2' or line_item.title == 'product name 3' %}
notice
{% endif %}
Hope it helps!
That answer is lit!
Thanks, LitCommerce.
1 Like