Hi
I would like to set a defualt vendor name for my products. I change it manually at the moment, and it resetes back to the defualt one everytime I make a change in my product.
Its pretty annoying and I was wondering if there is a way to change the defualt one to whatever I would like?
Thank you
You should find the {{ product.vendor }} piece of code in your files (could be in main-product.liquid, but could be in a nested snippet as well depending on your theme). Then you can replace this piece of code with any of your liking. If you intend to translate your theme, do not hard-code the text directly in the theme (use liquid local translations instead).
Hi, did you tried this setup? I am also trying to figure it out. I think I found my code in my snippet. I did not see a main-product.liquid file in my theme.
Did you use {{ product.vendor | name }} ?
Name isn’t a liquid filter (" xx | name"), but changing the code using the method described above potentially doesn’t cover all areas. {{ product.vendor }} can (and probably is) also used in the cart and checkout pages, and possibly an option on collection cards depending on your theme.
The fastest way to change multiple erroneous product vendors is to export your products and do a find-and-replace in your spreadsheet editor of choice (Excel, Google Sheets, etc). Then just import the updated file. If no product has the misnamed vendor, it won’t show as an option in the product editor unless it’s added again.
(NOTE: this is anecdotal, but I’m fairly certain this is how it works)
The “default” vendor is based on your Store Name in Settings > General > Store Details > Store Name. If a product is created before a store name is set, it will use the store’s unique myshopify.com subdomain (your-store-name for your-store-name.myshopify.com). Once that name is set, it should become the default, though it may choose based on an alphabetical hierarchy where hyphens come before spaces (assuming a product was created prior to setting the store name). This is what happened for me when building a development store before the client had the business name chosen.