How do you edit already created product tags? I have a few that are either all caps or the first letter not capitalized and I want to make them consistent so they show up on my website under product categories looking the same.
I’ve attached a photo for reference. For example I want to change ROUND to Round but it always tries to default back to ROUND on the product page itself. Even if I try to make a new one that said Round it forces me to select the already made ROUND option. Wouldn’t be so bad if it wasn’t case sensitive on the website but alas it is. Any help would be great.
Hi @heftyfabworks
If you want to change on the store live view, we can add some custom code to fix that.
But if you want to change in theme customize, I think it impossible.
Here’s a workaround if you want to do one product at a time:
Install the Shopify GraphiQL app making sure you include permissions to “write_products”.
Using the Admin API on the latest version add the following query. In the tagsAdd mutation replace “8490061070631” with the product id you need and “My Tag” with the tag you’d like to add. Do similar for the tagsRemove mutation.
mutation TagsAddMutation {
tagsAdd(id: "gid://shopify/Product/8490061070631", tags: "My Tag"){
node {
id
}
userErrors {
field
message
}
}
tagsRemove(id: "gid://shopify/Product/8490061070631", tags: "my tag"){
node {
id
}
userErrors {
field
message
}
}
}
Push the play button and if the query was successful it will output the product id.
Thanks for the suggestion. I will work for a query, that it will select all the products where the tag is equal to to something and remove and add the new tag
This worked for me; my theme is Spotlight: I went to the product page and I deleted the original tag. Then, I exited out of my browser and gave it a few minutes (maybe 2 ish minutes). I logged back in and entered the new/uncapitalized tag I wanted to use. The old tag was gone, so I was able to add the new tag.
Yes, this works! Thank you so much for this simple solution. I did this with my blog articles. Just removed all the wrong tags from all articles, closed the page, went back again and added new tags with the right spelling. All looks beautiful now…