I have customized our packing slips to use google fonts, through shipping settings > edit packing slips. They’ve been working fine, and displaying as expected until this morning. The chosen font is not displaying on the packing slips. I have not changed the template or any of the theme settings. Here is the code that has been working:
{{ shop.name }}
Order {{ order.name }}
{{ order.created_at | date: "%B %e, %Y" }}
Ship to
{% 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.city_province_zip != blank %}
{{ shipping_address.city_province_zip }}
{% endif %}
{{ shipping_address.country }}
{% else %}
No shipping address
{% endif %}
---
Hi, {{ shipping_address.first_name | camelize }}!
Thank you for your purchase. We hope you enjoy it as much as we enjoyed making it!
Your order was carefully packed by: .
If you have any questions, please send an email to {{ shop.email }}
Items
Quantity
{% 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 %}
{% if order.note != blank %}
Notes
{{ order.note }}
{% endif %}
Thank you for shopping with us!
<strong>
{{ shop.name }}
</strong>
{{ shop_address.address1 }}, {{ shop_address.city }}, {{ shop_address.province_code }}, {{ shop_address.zip }}, {{ shop_address.country }}
{{ shop.email }}
{{ shop.domain }}
{{ shop.phone }}
I’ve tried in more than one browser, and have tried different google fonts, none of them work for me. Anyone else experiencing this?