SLOGGI

Sidebar Sidebar Sidebar
  • 2 Slip Donna Sloggi In Cotone Con Inserti In Pizzo a Tema Floreale 2 Slip Donna Sloggi In Cotone Con Inserti In Pizzo a Tema Floreale

    SLOGGI

    2 Slip Donna Sloggi In Cotone Con Inserti In Pizzo a Tema Floreale

    €20,00
     2 Slip Donna Sloggi In Cotone Con Inserti In Pizzo a Tema Floreale. Taglio Sofisticato Con Cotone Di Alta Qualità Abbinato All'elasticità Della Fibra in Lycra. Disponibile nei colori Bianco e...
    €20,00
    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)
  • Slip Donna Sloggi Chic Midi In Cotone Di Alta Qualità Slip Donna Sloggi Chic Midi In Cotone Di Alta Qualità

    SLOGGI

    Slip Donna Sloggi Chic Midi In Cotone Di Alta Qualità

    €10,70 - €30,70
     Slip Donna Sloggi Chic Midi In Cotone Di Alta Qualità Con Inserti In Pizzo. Taglio Sofisticato Con Cotone Di Alta Qualità Abbinato All'elasticità Della Fibra in Lycra. Disponibile nei colori...
    €10,70 - €30,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)
  • 2 Slip Donna Tai 100 Sloggi  jersey di cotone ed elastan super morbido  elastico 2 Slip Donna Tai 100 Sloggi  jersey di cotone ed elastan super morbido  elastico

    SLOGGI

    2 Slip Donna Tai 100 Sloggi jersey di cotone ed elastan super morbido elastico

    €18,00
     Slip donna classico Bordo elastico con logo sloggi Sgambatura piacevolmente elastica nella parte anteriore e posteriore Grazie al tessuto elastico, garantisce una vestibilità perfetta ed è...
    €18,00
    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)
  • Slip Donna Sloggi In Cotone Con Inserti In Pizzo a Tema Floreale Slip Donna Sloggi In Cotone Con Inserti In Pizzo a Tema Floreale

    SLOGGI

    Slip Donna Sloggi In Cotone Con Inserti In Pizzo a Tema Floreale

    €11,00
     
    €11,00
    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)
  • 2 Slip Donna Sloggi Basic Mini taglio a vita bassa in Morbido Cotone 2 Slip Donna Sloggi Basic Mini taglio a vita bassa in Morbido Cotone

    SLOGGI

    2 Slip Donna Sloggi Basic Mini taglio a vita bassa in Morbido Cotone

    €17,60
     2 Slip Donna Sloggi Basic Mini taglio a vita bassa e lati più alti in Cotone . Morbide cuciture e massima vestibilità in ogni occasione.. Disponibile nel colore Bianco - Dalla Taglia 2 alla...
    €17,60
    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)
  • 2 Slip Donna Sloggi Basic Midi taglio a vita Media in Morbido Cotone 2 Slip Donna Sloggi Basic Midi taglio a vita Media in Morbido Cotone

    SLOGGI

    2 Slip Donna Sloggi Basic Midi taglio a vita Media in Morbido Cotone

    €18,00
     2 Slip Donna Sloggi Basic Midi in Morbido Cotone. La comoda biancheria della collezione Basic di sloggi per ogni giorno, realizzata in pregiata lycra di cotone, segue tutti i movimenti e offre...
    €18,00
    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)
  • Slip Long Donna Sloggi Basic Extra soft Comfort in Cotone Elasticizzato Slip Long Donna Sloggi Basic Extra soft Comfort in Cotone Elasticizzato

    SLOGGI

    Slip Long Donna Sloggi Basic Extra soft Comfort in Cotone Elasticizzato

    €15,00
     Slip Long Donna Sloggi Basic Extra soft Comfort in Cotone Elasticizzato. Con Gamba Realizzata In Morbido Cotone Confortevole e Comodo. Disponibile nei colori Bianco e Nero - Dalla Taglia 2 alla...
    €15,00
    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)
  • 2 Slip Donna Sloggi Basic Maxi in Morbido Cotone 2 Slip Donna Sloggi Basic Maxi in Morbido Cotone

    SLOGGI

    2 Slip Donna Sloggi Basic Maxi in Morbido Cotone

    €18,00
     2 Slip Donna Sloggi Basic Maxi in Morbido Cotone. Maxi slip classico con vita alta e sgambatura bassa. Disponibile nei colori Bianco e Nero - Dalla Taglia 1 alla Taglia 12
    €18,00
    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)