I want to add a specific word in all the product names

Solved

I want to add a specific word in all the product names

hellomenew
Excursionist
23 2 4

I want to add a specific word in all the product names, please guide me where do I find the code and what should I add to achieve this.

 

For example, Title is "Laptop Product Name - Wholesale"

 

I would like to add "- Wholesale" in all my products.

 

Thank you for your help.

Accepted Solution (1)
hellomenew
Excursionist
23 2 4

This is an accepted solution.

Hi Paul - this is the theme, https://creedvintage.com/products/authentic-vintage-bowling-shirts

 

What should I write to add " - Wholesale" in the product titles?

 

"{{ product.title }} - Wholesale"

 

Would this code work? I can dig all the files.

View solution in original post

Replies 9 (9)

PaulNewton
Shopify Partner
7722 678 1627

Hi @hellomenew , this will vary by theme, you need to find all instances of "{{ product.title }}" in the files , or also variant.title.

Since the product title is used so primarily is can be many files to dig through.

For example in OS2.0 themes such as dawn looking for the sections/product.liquid and others https://github.com/search?q=repo%3AShopify%2Fdawn%20product.title&type=code 

 

If your going to be tweaking the format of the title you may want to make a snippet to insert the product title with your formatting to replace all instances of the simpler liquid output.

 

If you need this customization then contact me by my email for services, or DM(slower)
Contact info in forum signature.
ALWAYS please provide context, examples: store url, theme name, post url(s) , or any further detail in ALL correspondence.

 

Contact paull.newton+shopifyforum@gmail.com for the solutions you need


Save time & money ,Ask Questions The Smart Way


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Thank Paul with a Coffee for more answers or donate to eff.org


hellomenew
Excursionist
23 2 4

This is an accepted solution.

Hi Paul - this is the theme, https://creedvintage.com/products/authentic-vintage-bowling-shirts

 

What should I write to add " - Wholesale" in the product titles?

 

"{{ product.title }} - Wholesale"

 

Would this code work? I can dig all the files.

Jason0707
Tourist
6 0 2

Hi @hellomenew ,

 

You can export your product by using export CSV feature of Shopify from your admin - products tab. And add a new column into the csv as - Wholesale and combine this new column with product names column. 

 

After these, you can save the csv and import again. ✌️

hellomenew
Excursionist
23 2 4

No - it's a very long solution and kind a manual work. I need it through quick code please.

KetanKumar
Shopify Partner
37598 3668 12156

@hellomenew 

can you please send your store url so i will check and update you

If helpful then please Like and Accept Solution. Partnership of your ️ Coffee Tips and my code can bring miracles.
Want to modify or custom changes on store Hire Me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
hellomenew
Excursionist
23 2 4
KetanKumar
Shopify Partner
37598 3668 12156

@hellomenew Thanks for url

can you please confirm this look 

KetanKumar_0-1714289520660.png

 

If helpful then please Like and Accept Solution. Partnership of your ️ Coffee Tips and my code can bring miracles.
Want to modify or custom changes on store Hire Me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
hellomenew
Excursionist
23 2 4

Yes please.

hellomenew
Excursionist
23 2 4

Hi Ketan - anything for me please?