Solved

Add Vendor To Order page in Shopify admin

mlennox
Shopify Expert
9 1 4

Hey Team,

Hoping someone can answer this for me, is it possible to add vendor next to the product line on this admin orders page?

Muchios grazias in advance

Vendor.jpg

Thx,

Mark

 

 

Accepted Solution (1)

mlennox
Shopify Expert
9 1 4

This is an accepted solution.

Hi Guys,


@UmairA is correct you need to add this line to your product-template.liquid under {% form 'product'

 

<input type="hidden" name="properties[Vendor]" value="{{product.vendor}}">

 

 

for me this was on line 225, as below.

product-template-liquid.png

end result

Example.jpg

Hope this helps someone in the future.

Regards,

Mark Lennox

Relevant Digital

View solution in original post

Replies 14 (14)

UmairA
Shopify Partner
1106 101 225

Hey there @mlennox,

I believe what you are trying to achieve is possible but no theme comes with this functionality. It's possible with some coding customization. You'll probably need to look for the submit form on the product page template and add the Vendor liquid tag there to get the name on the order page.

You can contact me if you need my help with this.

 

mlennox
Shopify Expert
9 1 4

This is an accepted solution.

Hi Guys,


@UmairA is correct you need to add this line to your product-template.liquid under {% form 'product'

 

<input type="hidden" name="properties[Vendor]" value="{{product.vendor}}">

 

 

for me this was on line 225, as below.

product-template-liquid.png

end result

Example.jpg

Hope this helps someone in the future.

Regards,

Mark Lennox

Relevant Digital

Goldbug256
Tourist
5 0 1

Where would you make this kind of enhancement on the Venture Template? 

I compared what you displayed your the product-template.liquid file, but it looks notably different from the file of the same name in Venture.  Any suggestions would be most appreciated.

UmairA
Shopify Partner
1106 101 225

Hey @Goldbug256!

Welcome to the community!

Use CTRL + F to search name="id" on product-template.liquid file and you'll find the code where you need to put the line.

Hope it helps!

Yessenia_Tseng
Excursionist
17 0 9

Hello, How do i add this to brooklyn theme?

UmairA
Shopify Partner
1106 101 225

Hi there @Yessenia_Tseng,

Can you share your store URL?

 

Yessenia_Tseng
Excursionist
17 0 9

hello-alyss.com

Yessenia_Tseng
Excursionist
17 0 9
Hello,

The store url is www.hello-alyss.com
KioFragrance
Visitor
2 0 0

Where does this go for the Dawn theme? There is no product-template.liquid www.kiofragrance.com

Mona_Aisha
New Member
4 0 0

Hi, How can i add this in Sense theme, Below is my store link, we dont find in product-template.liquid. 

www.theholisticculture.com

Please reply if possible. 

smansfield
Tourist
8 0 1

This is amazing and you have no idea how excited I am!!! But I can't work out how to implement this on my store? I'm using Empire theme and don't have a template product :(.

 

Any ideas? Thanks!

FarahHaddad
Visitor
3 0 0

Dear I need to add this code in order to display product vendor in the order page as the mentioned in the screenshot but I couldn't find the right place to add this code in the product-template.liquid

I'm using debut theme could you advise me where to be added?

 

Thank you 

Mona_Aisha
New Member
4 0 0

Hi, How can i add this in Sense theme, Below is my store link, we dont find as you mention for to add in product-template.liquid. 

www.theholisticculture.com

Please reply if possible. 

andrejhocevar
Shopify Partner
3 0 1

Confirmed! Just to clarify the logic behind it: an order submits a form, its values are then displayed on the admin order page. Adding this hidden field submits a new value which can then be shown alongside other data.