How can I edit packing slips to include a shipping date attribute?

I add a additional attribute in cart that was shipping date it’s code is below. Now I want to add this on my store Packing Slip. Are you guys help me that which liquid code will use there.

Select a date for delivery (Required)

Its showing up in order

Hello @Haider512 ,

Currently, In Shopify Packing Slip it is not possible to add the additional attributes. But you can get this done with cart notes by adding some custom code. You need to follow the below steps and add the code to the files. It will help you to add the Shipping date in Shopify Packing Slip.

  1. Open the Shopify code editor from the Shopify admin.

Open the “theme.liquid” file and add the below code before the tag.

{% if template == 'cart' %}
      
    {% endif %}

  1. Edit the Packing Slips Template - To edit the template click on Settings from the Shopify admin. Then go to Shipping and deliveryPacking slipsEdit Template
![Screenshot_16.png|294x760](upload://gTHC5OQ4Zp3MNk28ojcRHx3T2h9.png)


Once you open the template find “{% if order.note != blank %}” code and replace the code inside the condition with below code:


      {% if order.note contains ' | ' %}
        {% assign cartNotes = order.note | split: '|' %}
        {% assign shippingDate = cartNotes.last | split: ':' %}
        {% assign cartNote = cartNotes.first %}
      {% else %}
        {% assign shippingDate = order.note | split: ':' %}
      {% endif %}
      {% if cartNote %}
      

        Notes
      

      

        {{ cartNote }}
      

      {% endif %}
      {% if shippingDate.first and shippingDate.last %}
      

        {{ shippingDate.first }}
      

      

        {{ shippingDate.last | date: format: "date" }}
      

      {% endif %}
    

Please let me know if it doesn’t help or if you have any queries.

Thanks!