Is it possible to utilise a metafield within a tag?

Is it possible to utilise a metafield within a tag?

Drazdauskas
Explorer
50 0 11

Our theme manages product labels/badges via tags... as below

Drazdauskas_0-1723393166280.png

 

 



Tags are not translatable within Shopify and we sell in multiple countries/languages. Is there a way to utilise metafields within a tag at all?

I'm not clever enought to figure out any solution for this so any help would be great 

Replies 2 (2)

PaulNewton
Shopify Partner
6910 619 1455

No, tags are tags are data strings not deeper logic constructs that have operation "within" in and of themselves.

Tags are not translatable within Shopify and we sell in multiple countries/languages


The title does not match the goal https://xyproblem.info/

So be careful with any possible solution as they will be based on a technically unsound question trying to prescribe it's own solution.

 

Use the free shopify-flow app , or the mechanic app, etc to automate converting tags into metafields then translate the metafields or adding custom translated tags.

And/or custom the theme to display metafields, or special tags in place of the original tags. 

https://tasks.mechanic.dev/?q=tag%20metafield 

This will NOT address themes using tag based collection url filtering i.e. /collections/collection+handle/red+shirt+men

 

If you need this type of automation or customization then contact me by my email for services.
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


K_Br4
Excursionist
40 1 7

Yes, I think you can automatically copy each tag into a metafield and then translate it with an Excel-like app that pulls Shopify data.