Add Vendor To Order page in Shopify admin

Solved
mlennox
Shopify Expert
9 1 3

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)

Accepted Solutions
mlennox
Shopify Expert
9 1 3

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 11 (11)
UmairA
Shopify Partner
1059 96 214

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.

 

Need help with theme customization or to add a new feature? Hire me
Email: umairabbascs@gmail.com
WhatsApp: WhatsApp
ShopHelp
Theme customization | Custom coding | Store Setup | SEO Audit | Speed Optimization | Tweaks & Bugs fixing
mlennox
Shopify Expert
9 1 3

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
1059 96 214

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!

Need help with theme customization or to add a new feature? Hire me
Email: umairabbascs@gmail.com
WhatsApp: WhatsApp
ShopHelp
Theme customization | Custom coding | Store Setup | SEO Audit | Speed Optimization | Tweaks & Bugs fixing
Yessenia_Tseng
Excursionist
17 0 8

Hello, How do i add this to brooklyn theme?

UmairA
Shopify Partner
1059 96 214

Hi there @Yessenia_Tseng,

Can you share your store URL?

 

Need help with theme customization or to add a new feature? Hire me
Email: umairabbascs@gmail.com
WhatsApp: WhatsApp
ShopHelp
Theme customization | Custom coding | Store Setup | SEO Audit | Speed Optimization | Tweaks & Bugs fixing
Yessenia_Tseng
Excursionist
17 0 8

hello-alyss.com

Yessenia_Tseng
Excursionist
17 0 8
Hello,

The store url is www.hello-alyss.com
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
New Member
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 

KioFragrance
New Member
2 0 0

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