Solved

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

hellomenew
Excursionist
18 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
18 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
6339 579 1347

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.

 

Save time & money ,Ask Questions The Smart Way


Confused? Busy? Get the solution you need paull.newton+shopifyforum@gmail.com


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

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


hellomenew
Excursionist
18 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
5 0 1

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
18 2 4

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

KetanKumar
Shopify Partner
36855 3637 11980

@hellomenew 

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

If helpful then please Like and Accept Solution.
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
18 2 4
KetanKumar
Shopify Partner
36855 3637 11980

@hellomenew Thanks for url

can you please confirm this look 

KetanKumar_0-1714289520660.png

 

If helpful then please Like and Accept Solution.
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
18 2 4

Yes please.

hellomenew
Excursionist
18 2 4

Hi Ketan - anything for me please?