Liquid, JavaScript, themes, sales channels
Hey everyone,
I am currently editing my custom fulfillment request notification email to include all the information my supplier needs. I am at the home stretch until I got to where I have to add the "Cost per item" aka. my cost, unit cost, etc. I have searched these forums and Google without any luck! Below is the current code that I am using. The row for DropShip price is where I am having issues. Does anyone know the correct liquid variable code to insert here to display the cost per item? Thanks in advance.
<p>Hello {{ service_name }},</p>
<br>
<p>Please fulfill PO {{ name }}.</p>
<p>Date: {{ date: format: 'default' }}
<p>Total number of items: {{ fulfillment.item_count }}</p>
<p>Shipping Carrier Service: UPS Ground</p>
<p>Shipping Account: 014F09</p>
<br>
<p><strong>Items to fulfill:</strong></p>
{% for line in fulfillment.fulfillment_line_items %}
<p>Variant Title: {{ line.line_item.title }}</p>
<p>SKU: {{ line.line_item.sku }}</p>
<p>Quantity: {{ line.quantity }}</p>
<p>Dropship Price: $ {{ line_item.price | money }}</p>
{% endfor %}
{% if shipping_address %}
<br>
<p><strong>Shipping Address:</strong></p>
<p>{{ shipping_address.name }}{% if shipping_address.company %}
{{ shipping_address.company }}{% endif %}</p>
<p>{{ shipping_address.address1 }}</p>
<p>{{ shipping_address.address2 }}</p>
<p>{{ shipping_address.city }}, {{ shipping_address.province }}</p>
<p>{{ shipping_address.zip }}</p>
<p>{{ shipping_address.country }}</p>
{% if shipping_address.phone %}<p>Phone: {{ shipping_address.phone }}</p>{% endif %}
{% endif %}
<br>
<p><strong>Shipping Method:</strong></p>
<p>{% if shipping_method %}{{ shipping_method.title }}{% else %}None{% endif %}</p>
<br>
<p><strong>Tracking Number:</strong></p>
<p>{% if fulfillment.tracking_number %}{{ fulfillment.tracking_number }}{% else %}None{% endif %}</p>
<br>
<p>Please confirm receipt of the order.
<p>Thank you,</p>
<p>{{ shop_name }}</p>
<p>{{ shop.email }}</p>
User | RANK |
---|---|
37 | |
28 | |
13 | |
13 | |
9 |
On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023The year-end shopping season is just around the corner. Is a flash sale on your radar? Are...
By Jasonh Nov 6, 2023