ermyv
April 13, 2021, 6:28am
1
Hey guys!
Maybe someone of you can help me with two questions about customization of the packing slip template.
In the place highlighted in red, I want to write two words “Your order”, but since there is a space between the words, these two words are located on two lines, and I want on one line.
If I add an underscore between the words, then they are on the same line as they should! So the problem is in the space! How to fix it? I want space between words, but I want words on one line …
I would like to align the bar with the product quantity. I want to align the column in the middle. Is it possible to fix it?
I would be glad for any of your help, thanks !!!
@ermyv - can you please share packing slip preview? so I can check it on browser and let you know if we can do it via css
1 Like
@ermyv - no not image, do you have link to open in browser?
1 Like
@ermyv - this is pdf this too will not help, is it ok if you add me as staff or collaborator? I will check it from code
1 Like
ermyv
April 16, 2021, 8:42am
7
@suyash1
I hope now I understood you correctly)) below I added the code for the template!
But if it is convenient for you, I can send you an invitation and add you as a staff

Заказ {{ order.name }}
{{ order.created_at | date: "%d/%m/%Y" }}
{% if delivery_method.instructions != blank %}
Delivery to
{% else %}
Адрес доставки
{% endif %}
{% if shipping_address != blank %}
{{ shipping_address.name }}
{% if shipping_address.company != blank %}
{{ shipping_address.company }}
{% endif %}
{{ shipping_address.address1 }}
{% if shipping_address.address2 != blank %}
{{ shipping_address.address2 }}
{% endif %}
{% if shipping_address.zip != blank %}
{{ shipping_address.zip }}
{% endif %}
{{ shipping_address.country }}
{% if shipping_address.phone != blank %}
{{ shipping_address.phone }}
{% endif %}
{% else %}
No shipping address
{% endif %}
Платежный адрес
{% if billing_address != blank %}
{{ billing_address.name }}
{% if billing_address.company != blank %}
{{ billing_address.company }}
{% endif %}
{{ billing_address.address1 }}
{% if billing_address.address2 != blank %}
{{ billing_address.address2 }}
{% endif %}
{% if billing_address.city_province_zip != blank %}
{{ billing_address.city_province_zip }}
{% endif %}
{{ billing_address.country }}
{% else %}
No billing address
{% endif %}
---
Ваш_заказ:
Количество
{% comment %}
To adjust the size of line item images, change desired_image_size.
The other variables make sure your images print at high quality.
{% endcomment %}
{% assign desired_image_size = 58 %}
{% assign resolution_adjusted_size = desired_image_size | times: 300 | divided_by: 72 | ceil %}
{% capture effective_image_dimensions %}
{{ resolution_adjusted_size }}x{{ resolution_adjusted_size }}
{% endcapture %}
{% for line_item in line_items_in_shipment %}
{% if line_item.image != blank %}
{{ line_item.image | img_url: effective_image_dimensions | img_tag: '', 'aspect-ratio__content' }}
{% endif %}
{{ line_item.title }}
{% if line_item.variant_title != blank %}
{{ line_item.variant_title }}
{% endif %}
{% if line_item.sku != blank %}
{{ line_item.sku }}
{% endif %}
{{ line_item.quantity }}
{% endfor %}
{% unless includes_all_line_items_in_order %}
---
There are other items from your order not included in this shipment.
{% endunless %}
---
{% if order.note != blank %}
Notes
{{ order.note }}
{% endif %}
{% if delivery_method.instructions != blank %}
Delivery instructions
{{ delivery_method.instructions }}
{% endif %}
Красотка, спасибо, что выбрала нас!
<strong>

@{{ shop.name }}
</strong>

{{ shop.email }}

{{ shop.domain }}
@ermyv - sure, can you please add me to staff? You have my email below. I will check it.
1 Like
ermyv
April 16, 2021, 12:25pm
9
@suyash1
I have sent you the invitation!
@ermyv - I logged in, checking it now
1 Like
@ermyv - please check packing slip and let me know.
1 Like
ermyv
April 19, 2021, 9:59am
12
@suyash1
Sorry for not responding for a couple of days. I looked, thank you very much, now two words are on the same line! Please tell me, the quantity could not be aligned in the middle?
@ermyv - I made css change but it breaks the alignment
1 Like
ermyv
April 20, 2021, 7:56am
14
@suyash1
Ok then let’s keep the previous alignment please, I can’t change it back myself))
@ermyv - changed, please check
1 Like
ermyv
April 20, 2021, 8:16am
16
@suyash1
Yes, thank you very much!