Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
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>
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024