LEGGINGS

Sidebar Sidebar Sidebar
  • Leggings Donna  in fresco cotone Elasticizzato 4265 Jadea Leggings Donna  in fresco cotone Elasticizzato 4265 Jadea

    JADEA

    Leggings Donna in fresco cotone Elasticizzato 4265 Jadea

    €10,10
      Leggings Donna  in fresco cotone Elasticizzato 4265 Jadea   - Confezione da 1 pezzo - Disponibile in Vari Colori - Taglie dalla XS alla XL I leggings Donna Jadea sono ideali per tutte le tue attività, per sentirti libera e...
    €10,10
    Caricamento...
    <> // setTimeout(function() { // jquery(function($) { // let productIds = []; // let products = jquery($('.productListing li article.card')) // // console.log(products); // products.each(function(index, value) { // // console.log(index, jquery(value).data('product-id')); // productIds.push(jquery(value).data('product-id')); // }) // // console.log('productIds', productIds); // const token = 'eyJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiJ9.eyJjaWQiOlsxXSwiY29ycyI6WyJodHRwczovL3N0b3JlLWo3dDJ2NnV6c3EubXliaWdjb21tZXJjZS5jb20iXSwiZWF0IjoxNzMyMzU2NjQ3LCJpYXQiOjE3MzIxODM4NDcsImlzcyI6IkJDIiwic2lkIjoxMDAzMjgwMDk2LCJzdWIiOiJCQyIsInN1Yl90eXBlIjowLCJ0b2tlbl90eXBlIjoxfQ.D2j6zCn0y2HXyZ-AhqrREGG3Ny2fV_nRZ3PoRX4abt12Bn8xzfUdM0AILHQyv4nSW2XTFtW-ocg-FO6Lsxy0Eg'; // console.log(productIds); // jquery(productIds).each(function(index, id) { // fetch('/graphql', { // method: 'POST', // headers: { // 'Content-Type': 'application/json', // 'Authorization': `Bearer ${token}`, // }, // body: JSON.stringify({ // query: ` // query SeveralProductsByID { // site { // products(entityIds: [${id}]) { // edges { // node { // entityId // name // defaultImage{ // urlOriginal // } // variants(first: 50){ // edges{ // node{ // entityId // defaultImage{ // urlOriginal // } // productOptions(first: 50) { // edges { // node { // entityId // displayName // isRequired // ... on MultipleChoiceOption { // displayStyle // values { // edges { // node { // entityId // label // isDefault // ... on SwatchOptionValue { // hexColors // imageUrl(width: 150) // } // } // } // } // } // } // } // } // } // } // } // } // } // } // } // } // ` // }), // }) // .then(response => response.json()) // .then(data => { // // Estrai i prodotti // const products = data.data.site.products.edges; // // Filtra i valori con displayName "Colore" e displayStyle "Swatch" // let filteredColors = products.flatMap(product => // product.node.variants.edges.flatMap(variant => // variant.node.productOptions.edges // .filter(option => option.node.displayName === "Colore" && option.node.displayStyle === "Swatch") // .flatMap(option => option.node.values.edges.map(value => value.node)) // ) // ); // // Rendi il risultato univoco basandoti su entityId // filteredColors = Object.values( // filteredColors.reduce((acc, color) => { // acc[color.entityId] = color; // return acc; // }, {}) // ); // console.log(filteredColors); // }) // .catch(error => { // console.error('GraphQL Error:', error); // }); // }) // }) // }, 2000)
  • Leggings Pantacollant Capri Donna 4266 Jadea in morbido cotone Elasticizzato Leggings Pantacollant Capri Donna 4266 Jadea in morbido cotone Elasticizzato

    JADEA

    Leggings Pantacollant Capri Donna 4266 Jadea in morbido cotone Elasticizzato

    €9,50
     Leggins Pantacollant Donna Mod.Capri in Morbido Cotone Elasticizzato Jadea -Disponibile nei Colori Nero,Bianco,Blu e Grigio - Taglie dalla XS alla taglia L
    €9,50
    Caricamento...
    <> // setTimeout(function() { // jquery(function($) { // let productIds = []; // let products = jquery($('.productListing li article.card')) // // console.log(products); // products.each(function(index, value) { // // console.log(index, jquery(value).data('product-id')); // productIds.push(jquery(value).data('product-id')); // }) // // console.log('productIds', productIds); // const token = 'eyJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiJ9.eyJjaWQiOlsxXSwiY29ycyI6WyJodHRwczovL3N0b3JlLWo3dDJ2NnV6c3EubXliaWdjb21tZXJjZS5jb20iXSwiZWF0IjoxNzMyMzU2NjQ3LCJpYXQiOjE3MzIxODM4NDcsImlzcyI6IkJDIiwic2lkIjoxMDAzMjgwMDk2LCJzdWIiOiJCQyIsInN1Yl90eXBlIjowLCJ0b2tlbl90eXBlIjoxfQ.D2j6zCn0y2HXyZ-AhqrREGG3Ny2fV_nRZ3PoRX4abt12Bn8xzfUdM0AILHQyv4nSW2XTFtW-ocg-FO6Lsxy0Eg'; // console.log(productIds); // jquery(productIds).each(function(index, id) { // fetch('/graphql', { // method: 'POST', // headers: { // 'Content-Type': 'application/json', // 'Authorization': `Bearer ${token}`, // }, // body: JSON.stringify({ // query: ` // query SeveralProductsByID { // site { // products(entityIds: [${id}]) { // edges { // node { // entityId // name // defaultImage{ // urlOriginal // } // variants(first: 50){ // edges{ // node{ // entityId // defaultImage{ // urlOriginal // } // productOptions(first: 50) { // edges { // node { // entityId // displayName // isRequired // ... on MultipleChoiceOption { // displayStyle // values { // edges { // node { // entityId // label // isDefault // ... on SwatchOptionValue { // hexColors // imageUrl(width: 150) // } // } // } // } // } // } // } // } // } // } // } // } // } // } // } // } // ` // }), // }) // .then(response => response.json()) // .then(data => { // // Estrai i prodotti // const products = data.data.site.products.edges; // // Filtra i valori con displayName "Colore" e displayStyle "Swatch" // let filteredColors = products.flatMap(product => // product.node.variants.edges.flatMap(variant => // variant.node.productOptions.edges // .filter(option => option.node.displayName === "Colore" && option.node.displayStyle === "Swatch") // .flatMap(option => option.node.values.edges.map(value => value.node)) // ) // ); // // Rendi il risultato univoco basandoti su entityId // filteredColors = Object.values( // filteredColors.reduce((acc, color) => { // acc[color.entityId] = color; // return acc; // }, {}) // ); // console.log(filteredColors); // }) // .catch(error => { // console.error('GraphQL Error:', error); // }); // }) // }) // }, 2000)
  • Leggings Pantacollant Donna 4200 Jadea in morbido cotone Elasticizzato Leggings Pantacollant Donna 4200 Jadea in morbido cotone Elasticizzato

    JADEA

    Leggings Pantacollant Donna 4200 Jadea in morbido cotone Elasticizzato

    €16,30
     Leggings Pantacollant Donna 4200 Jadea in morbido cotone Elasticizzatoin Taglie Maxi Comfort - Disponibile nei Colori Nero e Blu - Taglie XXL alla Taglia 4XL
    €16,30
    Caricamento...
    <> // setTimeout(function() { // jquery(function($) { // let productIds = []; // let products = jquery($('.productListing li article.card')) // // console.log(products); // products.each(function(index, value) { // // console.log(index, jquery(value).data('product-id')); // productIds.push(jquery(value).data('product-id')); // }) // // console.log('productIds', productIds); // const token = 'eyJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiJ9.eyJjaWQiOlsxXSwiY29ycyI6WyJodHRwczovL3N0b3JlLWo3dDJ2NnV6c3EubXliaWdjb21tZXJjZS5jb20iXSwiZWF0IjoxNzMyMzU2NjQ3LCJpYXQiOjE3MzIxODM4NDcsImlzcyI6IkJDIiwic2lkIjoxMDAzMjgwMDk2LCJzdWIiOiJCQyIsInN1Yl90eXBlIjowLCJ0b2tlbl90eXBlIjoxfQ.D2j6zCn0y2HXyZ-AhqrREGG3Ny2fV_nRZ3PoRX4abt12Bn8xzfUdM0AILHQyv4nSW2XTFtW-ocg-FO6Lsxy0Eg'; // console.log(productIds); // jquery(productIds).each(function(index, id) { // fetch('/graphql', { // method: 'POST', // headers: { // 'Content-Type': 'application/json', // 'Authorization': `Bearer ${token}`, // }, // body: JSON.stringify({ // query: ` // query SeveralProductsByID { // site { // products(entityIds: [${id}]) { // edges { // node { // entityId // name // defaultImage{ // urlOriginal // } // variants(first: 50){ // edges{ // node{ // entityId // defaultImage{ // urlOriginal // } // productOptions(first: 50) { // edges { // node { // entityId // displayName // isRequired // ... on MultipleChoiceOption { // displayStyle // values { // edges { // node { // entityId // label // isDefault // ... on SwatchOptionValue { // hexColors // imageUrl(width: 150) // } // } // } // } // } // } // } // } // } // } // } // } // } // } // } // } // ` // }), // }) // .then(response => response.json()) // .then(data => { // // Estrai i prodotti // const products = data.data.site.products.edges; // // Filtra i valori con displayName "Colore" e displayStyle "Swatch" // let filteredColors = products.flatMap(product => // product.node.variants.edges.flatMap(variant => // variant.node.productOptions.edges // .filter(option => option.node.displayName === "Colore" && option.node.displayStyle === "Swatch") // .flatMap(option => option.node.values.edges.map(value => value.node)) // ) // ); // // Rendi il risultato univoco basandoti su entityId // filteredColors = Object.values( // filteredColors.reduce((acc, color) => { // acc[color.entityId] = color; // return acc; // }, {}) // ); // console.log(filteredColors); // }) // .catch(error => { // console.error('GraphQL Error:', error); // }); // }) // }) // }, 2000)
  • Immagine disponibile a breve

    LOTTO

    Leggings Donna Capri Lotto In Puro Cotone Bielastico LA1016

    €9,90
      Leggings Donna Capri Lotto In Puro Cotone Bielastico LA1016 - Confezione da 1 - Disponibile nei Colori Nero, Blu e Grigio Melange - Taglie S- M - L - XL. Leggings da donna effetto modellante con elastico in vita,modello capri. Il leggings è...
    €9,90
    Caricamento...
    <> // setTimeout(function() { // jquery(function($) { // let productIds = []; // let products = jquery($('.productListing li article.card')) // // console.log(products); // products.each(function(index, value) { // // console.log(index, jquery(value).data('product-id')); // productIds.push(jquery(value).data('product-id')); // }) // // console.log('productIds', productIds); // const token = 'eyJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiJ9.eyJjaWQiOlsxXSwiY29ycyI6WyJodHRwczovL3N0b3JlLWo3dDJ2NnV6c3EubXliaWdjb21tZXJjZS5jb20iXSwiZWF0IjoxNzMyMzU2NjQ3LCJpYXQiOjE3MzIxODM4NDcsImlzcyI6IkJDIiwic2lkIjoxMDAzMjgwMDk2LCJzdWIiOiJCQyIsInN1Yl90eXBlIjowLCJ0b2tlbl90eXBlIjoxfQ.D2j6zCn0y2HXyZ-AhqrREGG3Ny2fV_nRZ3PoRX4abt12Bn8xzfUdM0AILHQyv4nSW2XTFtW-ocg-FO6Lsxy0Eg'; // console.log(productIds); // jquery(productIds).each(function(index, id) { // fetch('/graphql', { // method: 'POST', // headers: { // 'Content-Type': 'application/json', // 'Authorization': `Bearer ${token}`, // }, // body: JSON.stringify({ // query: ` // query SeveralProductsByID { // site { // products(entityIds: [${id}]) { // edges { // node { // entityId // name // defaultImage{ // urlOriginal // } // variants(first: 50){ // edges{ // node{ // entityId // defaultImage{ // urlOriginal // } // productOptions(first: 50) { // edges { // node { // entityId // displayName // isRequired // ... on MultipleChoiceOption { // displayStyle // values { // edges { // node { // entityId // label // isDefault // ... on SwatchOptionValue { // hexColors // imageUrl(width: 150) // } // } // } // } // } // } // } // } // } // } // } // } // } // } // } // } // ` // }), // }) // .then(response => response.json()) // .then(data => { // // Estrai i prodotti // const products = data.data.site.products.edges; // // Filtra i valori con displayName "Colore" e displayStyle "Swatch" // let filteredColors = products.flatMap(product => // product.node.variants.edges.flatMap(variant => // variant.node.productOptions.edges // .filter(option => option.node.displayName === "Colore" && option.node.displayStyle === "Swatch") // .flatMap(option => option.node.values.edges.map(value => value.node)) // ) // ); // // Rendi il risultato univoco basandoti su entityId // filteredColors = Object.values( // filteredColors.reduce((acc, color) => { // acc[color.entityId] = color; // return acc; // }, {}) // ); // console.log(filteredColors); // }) // .catch(error => { // console.error('GraphQL Error:', error); // }); // }) // }) // }, 2000)
  • Leggings Pantacollant Donna Soft cotton 4800 Jadea in cotone Elasticizzato Leggings Pantacollant Donna Soft cotton 4800 Jadea in cotone Elasticizzato

    JADEA

    Leggings Pantacollant Donna Soft cotton 4800 Jadea in cotone Elasticizzato

    €12,20
     Leggings invernale, realizzato in soft cotton. Estremamente coprente e comodo, una vera e propria coccola per ogni donna. Leggings ultra comfort, ideale per un uso quotidiano.
    €12,20
    Caricamento...
    <> // setTimeout(function() { // jquery(function($) { // let productIds = []; // let products = jquery($('.productListing li article.card')) // // console.log(products); // products.each(function(index, value) { // // console.log(index, jquery(value).data('product-id')); // productIds.push(jquery(value).data('product-id')); // }) // // console.log('productIds', productIds); // const token = 'eyJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiJ9.eyJjaWQiOlsxXSwiY29ycyI6WyJodHRwczovL3N0b3JlLWo3dDJ2NnV6c3EubXliaWdjb21tZXJjZS5jb20iXSwiZWF0IjoxNzMyMzU2NjQ3LCJpYXQiOjE3MzIxODM4NDcsImlzcyI6IkJDIiwic2lkIjoxMDAzMjgwMDk2LCJzdWIiOiJCQyIsInN1Yl90eXBlIjowLCJ0b2tlbl90eXBlIjoxfQ.D2j6zCn0y2HXyZ-AhqrREGG3Ny2fV_nRZ3PoRX4abt12Bn8xzfUdM0AILHQyv4nSW2XTFtW-ocg-FO6Lsxy0Eg'; // console.log(productIds); // jquery(productIds).each(function(index, id) { // fetch('/graphql', { // method: 'POST', // headers: { // 'Content-Type': 'application/json', // 'Authorization': `Bearer ${token}`, // }, // body: JSON.stringify({ // query: ` // query SeveralProductsByID { // site { // products(entityIds: [${id}]) { // edges { // node { // entityId // name // defaultImage{ // urlOriginal // } // variants(first: 50){ // edges{ // node{ // entityId // defaultImage{ // urlOriginal // } // productOptions(first: 50) { // edges { // node { // entityId // displayName // isRequired // ... on MultipleChoiceOption { // displayStyle // values { // edges { // node { // entityId // label // isDefault // ... on SwatchOptionValue { // hexColors // imageUrl(width: 150) // } // } // } // } // } // } // } // } // } // } // } // } // } // } // } // } // ` // }), // }) // .then(response => response.json()) // .then(data => { // // Estrai i prodotti // const products = data.data.site.products.edges; // // Filtra i valori con displayName "Colore" e displayStyle "Swatch" // let filteredColors = products.flatMap(product => // product.node.variants.edges.flatMap(variant => // variant.node.productOptions.edges // .filter(option => option.node.displayName === "Colore" && option.node.displayStyle === "Swatch") // .flatMap(option => option.node.values.edges.map(value => value.node)) // ) // ); // // Rendi il risultato univoco basandoti su entityId // filteredColors = Object.values( // filteredColors.reduce((acc, color) => { // acc[color.entityId] = color; // return acc; // }, {}) // ); // console.log(filteredColors); // }) // .catch(error => { // console.error('GraphQL Error:', error); // }); // }) // }) // }, 2000)
  • Leggings Donna 4192 Jadea in morbido cotone Elasticizzato invernale Leggings Donna 4192 Jadea in morbido cotone Elasticizzato invernale

    JADEA

    Leggings Donna 4192 Jadea in morbido cotone Elasticizzato invernale

    €10,10
      Leggings Donna 4192 Jadea in morbido cotone Elasticizzato - Confezione da 1 pezzo - Disponibile nei Nero, Bianco, Grigio e Blu - Taglie dalla XS alla XL I leggings Donna Jadea sono aderenti realizzati in tessuto elasticizzato comodo e...
    €10,10
    Caricamento...
    <> // setTimeout(function() { // jquery(function($) { // let productIds = []; // let products = jquery($('.productListing li article.card')) // // console.log(products); // products.each(function(index, value) { // // console.log(index, jquery(value).data('product-id')); // productIds.push(jquery(value).data('product-id')); // }) // // console.log('productIds', productIds); // const token = 'eyJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiJ9.eyJjaWQiOlsxXSwiY29ycyI6WyJodHRwczovL3N0b3JlLWo3dDJ2NnV6c3EubXliaWdjb21tZXJjZS5jb20iXSwiZWF0IjoxNzMyMzU2NjQ3LCJpYXQiOjE3MzIxODM4NDcsImlzcyI6IkJDIiwic2lkIjoxMDAzMjgwMDk2LCJzdWIiOiJCQyIsInN1Yl90eXBlIjowLCJ0b2tlbl90eXBlIjoxfQ.D2j6zCn0y2HXyZ-AhqrREGG3Ny2fV_nRZ3PoRX4abt12Bn8xzfUdM0AILHQyv4nSW2XTFtW-ocg-FO6Lsxy0Eg'; // console.log(productIds); // jquery(productIds).each(function(index, id) { // fetch('/graphql', { // method: 'POST', // headers: { // 'Content-Type': 'application/json', // 'Authorization': `Bearer ${token}`, // }, // body: JSON.stringify({ // query: ` // query SeveralProductsByID { // site { // products(entityIds: [${id}]) { // edges { // node { // entityId // name // defaultImage{ // urlOriginal // } // variants(first: 50){ // edges{ // node{ // entityId // defaultImage{ // urlOriginal // } // productOptions(first: 50) { // edges { // node { // entityId // displayName // isRequired // ... on MultipleChoiceOption { // displayStyle // values { // edges { // node { // entityId // label // isDefault // ... on SwatchOptionValue { // hexColors // imageUrl(width: 150) // } // } // } // } // } // } // } // } // } // } // } // } // } // } // } // } // ` // }), // }) // .then(response => response.json()) // .then(data => { // // Estrai i prodotti // const products = data.data.site.products.edges; // // Filtra i valori con displayName "Colore" e displayStyle "Swatch" // let filteredColors = products.flatMap(product => // product.node.variants.edges.flatMap(variant => // variant.node.productOptions.edges // .filter(option => option.node.displayName === "Colore" && option.node.displayStyle === "Swatch") // .flatMap(option => option.node.values.edges.map(value => value.node)) // ) // ); // // Rendi il risultato univoco basandoti su entityId // filteredColors = Object.values( // filteredColors.reduce((acc, color) => { // acc[color.entityId] = color; // return acc; // }, {}) // ); // console.log(filteredColors); // }) // .catch(error => { // console.error('GraphQL Error:', error); // }); // }) // }) // }, 2000)
  • Leggings Pantacollant Donna 4367 Jadea in caldo cotone felpato Leggings Pantacollant Donna 4367 Jadea in caldo cotone felpato

    JADEA

    Leggings Pantacollant Donna 4367 Jadea in caldo cotone felpato

    €12,70
     Leggings Winter Donna in Cotone Felpato Elasticizzato Confezione da 1 pezzo Capo di abbigliamento comodo e versatile, ideale per attività sportive o per creare outfit casual ed eleganti. I leggings sono capi ideali per il comfort, la...
    €12,70
    Caricamento...
    <> // setTimeout(function() { // jquery(function($) { // let productIds = []; // let products = jquery($('.productListing li article.card')) // // console.log(products); // products.each(function(index, value) { // // console.log(index, jquery(value).data('product-id')); // productIds.push(jquery(value).data('product-id')); // }) // // console.log('productIds', productIds); // const token = 'eyJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiJ9.eyJjaWQiOlsxXSwiY29ycyI6WyJodHRwczovL3N0b3JlLWo3dDJ2NnV6c3EubXliaWdjb21tZXJjZS5jb20iXSwiZWF0IjoxNzMyMzU2NjQ3LCJpYXQiOjE3MzIxODM4NDcsImlzcyI6IkJDIiwic2lkIjoxMDAzMjgwMDk2LCJzdWIiOiJCQyIsInN1Yl90eXBlIjowLCJ0b2tlbl90eXBlIjoxfQ.D2j6zCn0y2HXyZ-AhqrREGG3Ny2fV_nRZ3PoRX4abt12Bn8xzfUdM0AILHQyv4nSW2XTFtW-ocg-FO6Lsxy0Eg'; // console.log(productIds); // jquery(productIds).each(function(index, id) { // fetch('/graphql', { // method: 'POST', // headers: { // 'Content-Type': 'application/json', // 'Authorization': `Bearer ${token}`, // }, // body: JSON.stringify({ // query: ` // query SeveralProductsByID { // site { // products(entityIds: [${id}]) { // edges { // node { // entityId // name // defaultImage{ // urlOriginal // } // variants(first: 50){ // edges{ // node{ // entityId // defaultImage{ // urlOriginal // } // productOptions(first: 50) { // edges { // node { // entityId // displayName // isRequired // ... on MultipleChoiceOption { // displayStyle // values { // edges { // node { // entityId // label // isDefault // ... on SwatchOptionValue { // hexColors // imageUrl(width: 150) // } // } // } // } // } // } // } // } // } // } // } // } // } // } // } // } // ` // }), // }) // .then(response => response.json()) // .then(data => { // // Estrai i prodotti // const products = data.data.site.products.edges; // // Filtra i valori con displayName "Colore" e displayStyle "Swatch" // let filteredColors = products.flatMap(product => // product.node.variants.edges.flatMap(variant => // variant.node.productOptions.edges // .filter(option => option.node.displayName === "Colore" && option.node.displayStyle === "Swatch") // .flatMap(option => option.node.values.edges.map(value => value.node)) // ) // ); // // Rendi il risultato univoco basandoti su entityId // filteredColors = Object.values( // filteredColors.reduce((acc, color) => { // acc[color.entityId] = color; // return acc; // }, {}) // ); // console.log(filteredColors); // }) // .catch(error => { // console.error('GraphQL Error:', error); // }); // }) // }) // }, 2000)
  • Leggings Pantacollant Donna Capri con pizzo 4319 Jadea in cotone Elasticizzato Leggings Pantacollant Donna Capri con pizzo 4319 Jadea in cotone Elasticizzato

    JADEA

    Leggings Pantacollant Donna Capri con pizzo 4319 Jadea in cotone Elasticizzato

    €10,10
     Leggins Pantacollant Donna Mod.Capri con Inserto in su orlo Gamba in Cotone Elasticizzato Jadea - Colore Nero - Taglie XS - S - M - L
    €10,10
    Caricamento...
    <> // setTimeout(function() { // jquery(function($) { // let productIds = []; // let products = jquery($('.productListing li article.card')) // // console.log(products); // products.each(function(index, value) { // // console.log(index, jquery(value).data('product-id')); // productIds.push(jquery(value).data('product-id')); // }) // // console.log('productIds', productIds); // const token = 'eyJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiJ9.eyJjaWQiOlsxXSwiY29ycyI6WyJodHRwczovL3N0b3JlLWo3dDJ2NnV6c3EubXliaWdjb21tZXJjZS5jb20iXSwiZWF0IjoxNzMyMzU2NjQ3LCJpYXQiOjE3MzIxODM4NDcsImlzcyI6IkJDIiwic2lkIjoxMDAzMjgwMDk2LCJzdWIiOiJCQyIsInN1Yl90eXBlIjowLCJ0b2tlbl90eXBlIjoxfQ.D2j6zCn0y2HXyZ-AhqrREGG3Ny2fV_nRZ3PoRX4abt12Bn8xzfUdM0AILHQyv4nSW2XTFtW-ocg-FO6Lsxy0Eg'; // console.log(productIds); // jquery(productIds).each(function(index, id) { // fetch('/graphql', { // method: 'POST', // headers: { // 'Content-Type': 'application/json', // 'Authorization': `Bearer ${token}`, // }, // body: JSON.stringify({ // query: ` // query SeveralProductsByID { // site { // products(entityIds: [${id}]) { // edges { // node { // entityId // name // defaultImage{ // urlOriginal // } // variants(first: 50){ // edges{ // node{ // entityId // defaultImage{ // urlOriginal // } // productOptions(first: 50) { // edges { // node { // entityId // displayName // isRequired // ... on MultipleChoiceOption { // displayStyle // values { // edges { // node { // entityId // label // isDefault // ... on SwatchOptionValue { // hexColors // imageUrl(width: 150) // } // } // } // } // } // } // } // } // } // } // } // } // } // } // } // } // ` // }), // }) // .then(response => response.json()) // .then(data => { // // Estrai i prodotti // const products = data.data.site.products.edges; // // Filtra i valori con displayName "Colore" e displayStyle "Swatch" // let filteredColors = products.flatMap(product => // product.node.variants.edges.flatMap(variant => // variant.node.productOptions.edges // .filter(option => option.node.displayName === "Colore" && option.node.displayStyle === "Swatch") // .flatMap(option => option.node.values.edges.map(value => value.node)) // ) // ); // // Rendi il risultato univoco basandoti su entityId // filteredColors = Object.values( // filteredColors.reduce((acc, color) => { // acc[color.entityId] = color; // return acc; // }, {}) // ); // console.log(filteredColors); // }) // .catch(error => { // console.error('GraphQL Error:', error); // }); // }) // }) // }, 2000)