Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
I have a customization box on product pages for customer to input a name or other data. It shows up in check out and on the orders page but when I print the packing slips it doesn't show. How can I get it to be added to the packing slip?
Thanks
Solved! Go to the solution
This is an accepted solution.
Hi @RainbowGlitter,
Please go to Settings > Shipping and delivery > Packing slips > Packing slip template > Edit.
then you just need to add the code here, it will display fine:
Code:
{%- for property in line_item.properties -%}
{%- assign property_first_char = property.first | slice: 0 -%}
{%- if property.last != blank and property_first_char != '_' -%}
<span class="line-item-description-line">
{{ property.first }}:{%- if property.last contains '/uploads/' -%}{{ property.last | split: '/' | last }}{%- else -%}{{ property.last }}{%- endif -%}
</span>
{%- endif -%}
{%- endfor -%}
This is an accepted solution.
Hi @RainbowGlitter,
Please go to Settings > Shipping and delivery > Packing slips > Packing slip template > Edit.
then you just need to add the code here, it will display fine:
Code:
{%- for property in line_item.properties -%}
{%- assign property_first_char = property.first | slice: 0 -%}
{%- if property.last != blank and property_first_char != '_' -%}
<span class="line-item-description-line">
{{ property.first }}:{%- if property.last contains '/uploads/' -%}{{ property.last | split: '/' | last }}{%- else -%}{{ property.last }}{%- endif -%}
</span>
{%- endif -%}
{%- endfor -%}
I had exact same problem and this solved it! thank you!
Hi @sashiwatashi,
You can create a question on the community and send me the link. I will check it.
Because this will help build a better community.
Thank you.
Excellent! Thank you for the code. Works very well for one of my clients as well. Just implemented it.
Thank you thank you thank you! I looked this up on the web to see if anyone could do this for me (because I didn't want to initially), and they wanted $65 and only listed a few templates they would work on. You saved me a lot of money, and time, too. Thank you again!!
Absolutely perfect. Thank you so much
Hi,
Thank you for your posted solution. Although this seems to show free of charge customisations on the packing slip, it does not show paid for customisations. We offer additional printing on garmens which incurs a cost, I'd like this to show on the packing slip as well. Is this possible?
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024