MeWaii® Famille Champignon Chaton Noir aux Yeux de Lune Kawaii Oreiller en Peluche Jouet Squishy
${function() {
const variantData = data.variant || {"id":"fa64ff21-be76-4d95-b1fa-4a7e7d21fe9f","product_id":"1398a52f-e69a-4e80-b1f2-491b4bbcefec","title":"Black Kitten with Moon Eyes-24 cm","weight_unit":"kg","inventory_quantity":0,"sku":"MEPI000MUS0451B1-S02","barcode":"","position":1,"option1":"Black Kitten with Moon Eyes","option2":"24 cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8990f83f87e8d2e5dae6416b6b1190d5.jpg","path":"8990f83f87e8d2e5dae6416b6b1190d5.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":9.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"9.99","retail_price":"0","available":false,"url":"\/products\/mushroom-family-black-kitten-with-moon-eyes-kawaii-plush-pillow-squish-toy?variant=fa64ff21-be76-4d95-b1fa-4a7e7d21fe9f","available_quantity":0,"options":[{"name":"Style","value":"Black Kitten with Moon Eyes"},{"name":"Size","value":"24 cm"}],"off_ratio":0,"flashsale_info":[],"sales":78};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
les gens regardent ça en ce moment
Style:
Black Kitten with Moon Eyes
${function(){
const optName = "Style";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "Veuillez s\u00e9lectionner un {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Size:
24 cm
${function(){
const optName = "Size";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "Veuillez s\u00e9lectionner un {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Solder
€9.99
${function(){
const wholesale_enabled = false;
const qty = data.quantity || 1;
const currentSelectVariant = data.variant;
const defaultVariant = (data.product && data.product.variants && data.product.variants[0]);
const productVariant = {"id":"fa64ff21-be76-4d95-b1fa-4a7e7d21fe9f","product_id":"1398a52f-e69a-4e80-b1f2-491b4bbcefec","title":"Black Kitten with Moon Eyes-24 cm","weight_unit":"kg","inventory_quantity":0,"sku":"MEPI000MUS0451B1-S02","barcode":"","position":1,"option1":"Black Kitten with Moon Eyes","option2":"24 cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8990f83f87e8d2e5dae6416b6b1190d5.jpg","path":"8990f83f87e8d2e5dae6416b6b1190d5.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":9.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"9.99","retail_price":"0","available":false,"url":"\/products\/mushroom-family-black-kitten-with-moon-eyes-kawaii-plush-pillow-squish-toy?variant=fa64ff21-be76-4d95-b1fa-4a7e7d21fe9f","available_quantity":0,"options":[{"name":"Style","value":"Black Kitten with Moon Eyes"},{"name":"Size","value":"24 cm"}],"off_ratio":0,"flashsale_info":[],"sales":78};
const variantData = currentSelectVariant || defaultVariant || productVariant;
const wholesale_price = variantData.wholesale_price || [];
if(wholesale_enabled && wholesale_price.length > 0) {
let wholesaleIndex = wholesale_price.findIndex(item => {
return item.min_quantity > qty;
});
if(wholesaleIndex < 0){
wholesaleIndex = wholesale_price.length - 1;
}else if(wholesaleIndex > 0){
wholesaleIndex = wholesaleIndex - 1;
}
const wholesalePrice = wholesale_price[wholesaleIndex] || '';
return `
`
}else {
const price = variantData && variantData.price;
return price != undefined ? `
` : ' ';
}
}()}
Le produit était en rupture de stock.
Le produit n'est pas disponible.
${function(){
const variantData = data.variant || {"id":"fa64ff21-be76-4d95-b1fa-4a7e7d21fe9f","product_id":"1398a52f-e69a-4e80-b1f2-491b4bbcefec","title":"Black Kitten with Moon Eyes-24 cm","weight_unit":"kg","inventory_quantity":0,"sku":"MEPI000MUS0451B1-S02","barcode":"","position":1,"option1":"Black Kitten with Moon Eyes","option2":"24 cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8990f83f87e8d2e5dae6416b6b1190d5.jpg","path":"8990f83f87e8d2e5dae6416b6b1190d5.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":9.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"9.99","retail_price":"0","available":false,"url":"\/products\/mushroom-family-black-kitten-with-moon-eyes-kawaii-plush-pillow-squish-toy?variant=fa64ff21-be76-4d95-b1fa-4a7e7d21fe9f","available_quantity":0,"options":[{"name":"Style","value":"Black Kitten with Moon Eyes"},{"name":"Size","value":"24 cm"}],"off_ratio":0,"flashsale_info":[],"sales":78};
return `
Inventaire : ${variantData && variantData.available_quantity}
`
}()}