Situazione attuale: “Ho bisogno di associare i tag dei prodotti con i metafields per il filtraggio, ma attualmente devo aggiungere manualmente ogni tag ai metafields per prodotto”
Contesto tecnico: “I miei filtri di prodotto utilizzano i metafields mentre le collezioni utilizzano i tag, creando una disconnessione”
Obiettivo: “Cerco una soluzione di automazione per aggiornare in blocco i metafields in base ai tag dei prodotti esistenti”
Richiesta specifica: “Ho bisogno di indicazioni sulla configurazione di Shopify Flow o codice personalizzato per automatizzare l’associazione tag-metafield”
Topic summary
-
Tema centrale: automatizzare l’associazione tra tag dei prodotti e metafields per allineare filtri (basati su metafields) e collezioni (basate su tag) in Shopify. Obiettivo: ridurre l’inserimento manuale e mantenere i dati coerenti.
-
Stato attuale: i metafields devono essere popolati a mano per ogni prodotto in base ai tag esistenti, causando lavoro ripetitivo e disconnessione tra filtri e collezioni. Impatto: inefficienza operativa e rischio di inconsistenza.
-
Contesto tecnico: i “tag” sono etichette testuali per raggruppamento/collezioni; i “metafields” sono campi personalizzati usati dai filtri; “Shopify Flow” è uno strumento no‑code per automazioni basate su eventi/condizioni.
-
Richiesta: indicazioni pratiche per un workflow in Shopify Flow o per codice personalizzato (script/API) che mappi automaticamente tag → metafields e consenta aggiornamenti in blocco.
-
Esito: nessuna soluzione proposta finora; discussione aperta in attesa di best practice e passaggi concreti.
Hello there @lello!
FYI, you’re running into this issue because your store is using tags for collections and metafields for filters, and there’s no automatic link between the two. That’s why you’re stuck adding tags to metafields manually.
The easiest way to fix this is with automation.
If you have Shopify Flow, you can create a workflow that checks when a product is created or updated. If the product has a specific tag, Flow can automatically set the matching metafield. This works well if your tags follow a clear and consistent naming pattern.
If interested, I have a beginner-friendly YT video that walks through how to create automations using Shopify Flow: https://youtu.be/edym2_mCj2I?si=UXIYnratSw6KrGEr
Hope this helps you out! ![]()
Grazie, per caso hai già il flusso così da poterlo copiare ed inserirlo nel mio Shopify?
Do you already have the flow so I can copy it and insert it into my Shopify? Thank you!
Welcome @lello
Concerning your question, you have to install Shopify Flow from the Shopify App Store.
I’ll add it here for your reference:
The app is already installed, but I don’t know how to create this type of flow. Would it be possible to have a flow made by you? Thanks in advance for your availability.