Adding Vendor name to order summary

itsSelman
Tourist
30 0 3

Hello,

 

How can I include the Vendor's name to the order notification I receive on Shopify?

As we're having several products from several vendors it will be easier to have it included on the order summary.

 

Thanks,

Replies 11 (11)

JHKCreate
Shopify Expert
3571 639 916

Hi @itsSelman !

Go to Settings, Notifications, scroll all the way down to "New Order" & replace the code with the following (assuming you didn't do any previous changes). It's just a matter of adding {{line.vendor}} to where you want it to show.

<p>Hello {{ shop_name }},</p>
<p></p>
<p>
{% assign current_datetime = date | date: "%b %d %I:%M%p" %}
  {% if customer.name %}
    {{ customer.name }} placed a new order with your store, {{ current_datetime }}:
  {% else %}
    Someone placed a new order with your store, {{ current_datetime }}:
  {% endif %}
</p>
<p></p>
<ul>
  {% for line in subtotal_line_items %}
    <li>
      <img src="{{ line | img_url: 'thumb' }}" />
      {% if line.sku != blank %}
        {{ line.quantity }} x {{line,vendor}} - (SKU: {{ line.sku }}) for {{ line.price | money }} each
      {% else %}
        {{ line.quantity }} x {{line,vendor}} - {{ line.title }} for {{ line.price | money }} each
      {% endif %}
    </li>
  {% endfor %}
</ul>
<a href="https://{{ shop.permanent_domain }}/admin/orders/{{ id }}">View order {{ order_name }}</a>
{% if fulfillment_aborted %}
  <p>The above order was not automatically fulfilled because it was flagged as suspicious.</p>
{% endif %}
<p></p><br>
{% if has_high_risks? %}
  <p><b>Security check:</b></p>
  <p>This order has a risk of being fraudulent. Review the order in your store's admin and contact the customer to verify their information.</p>
  <p></p>
{% endif %}
{% if gateway %}
  <p><b>Payment processing method:</b></p>
  <p>{{ gateway }}</p>
  <p></p>
{% endif %}
{% if requires_shipping and shipping_address %}
  <p><b>Delivery method:</b></p>
{% for shipping_method in shipping_methods %}
  <p>{{ shipping_method.title }}</p>
{% endfor %}
<p></p>
<p><b>Shipping address:</b></p>
<p>{{ shipping_address.name }}</p>
<p>{{ shipping_address.street }}</p>
<p>{{ shipping_address.city }}, {{ shipping_address.province }}  {{ shipping_address.zip }}</p>
<p>{{ shipping_address.country }}</p>
<p>{{ shipping_address.phone }}{% endif %}</p>
<p></p>

{% if shopify_shipping_enabled %}
  <p>Save time and money by <a href="{{ fulfillment_url }}">fulfilling with Shopify Shipping</a></p>
  <p></p>
{% endif %}

 
Let Me Know!

 

Did we solve your issue? Like & Mark As Solution to help the community
Should you need any direct help: contact@jhkcreate.com

Learn more about us: jhkcreate.com
itsSelman
Tourist
30 0 3

Thank you very much for this,

 

Before I try it, If I do it, will this automatically be included on the Order summary on my admin panel? that's where I want it to be reflected.

 

Thanks,

JHKCreate
Shopify Expert
3571 639 916

No, this is just for the email side of things that you receive. 

Did we solve your issue? Like & Mark As Solution to help the community
Should you need any direct help: contact@jhkcreate.com

Learn more about us: jhkcreate.com
itsSelman
Tourist
30 0 3

Oh, Thanks!

Any idea how can I have the vendor name on my order notification from the admin panel?

smansfield
Tourist
8 0 1

Did you ever find a fix for this? Having the same issue :(.

Temsfire
Visitor
3 0 0

Yes there is a way to add the vendor's name to the order summary, I will help you with it

smansfield
Tourist
8 0 1

Amazing - on the admin screen? Or just as a notification...

Temsfire
Visitor
3 0 0
As a notification or on the admin screen if you want it that way

Temsfire
Visitor
3 0 0

As a notification

But also on the admin screen if you want it that way

smansfield
Tourist
8 0 1

I'd like it on the admin screen. I found a guide on here that showed you how but I don't have a product template like they suggested I added it to... 

 

Mona_Aisha
New Member
4 0 0

Hi Did you find the solution for this? coz even i want to show vendors name in order summery page. (i mean in every order we can see product details with their vendors name)