MeWaii® Original Design Magic Cat Pink Stuffed Animal Kawaii Plush Pillow Squishy Toy
${function() {
const variantData = data.variant || {"id":"5566452a-10fe-40d3-a477-ca8709767e07","product_id":"2403241a-df5c-4436-bca8-835d7fdf5efb","title":"[New]\u2605Magic Cat Pink-Cat-36 inch","weight_unit":"kg","inventory_quantity":155,"sku":"MEPI000LOB0584F2","barcode":"","position":3,"option1":"[New]\u2605Magic Cat Pink","option2":"Cat","option3":"36 inch","note":"","image":{"src":"\/\/img.staticdj.com\/d1d10fd8cd10fdd9a6889859dfc53f93.jpg","path":"d1d10fd8cd10fdd9a6889859dfc53f93.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"26.99","retail_price":"0","available":true,"url":"\/products\/mewaii-original-design-magic-cat-pink-stuffed-animal-kawaii-plush-pillow-squishy-toy-6tme-8df2?variant=5566452a-10fe-40d3-a477-ca8709767e07","available_quantity":155,"options":[{"name":"Style","value":"[New]\u2605Magic Cat Pink"},{"name":"Role","value":"Cat"},{"name":"Size","value":"36 inch"}],"off_ratio":0,"flashsale_info":[],"sales":3};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
les gens regardent ça en ce moment
Style:
[New]★Magic Cat Pink
${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}
`
}()}
Role:
Cat
${function(){
const optName = "Role";
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:
36 inch
${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}
`
}()}
Ajouter au panier
€26.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":"5566452a-10fe-40d3-a477-ca8709767e07","product_id":"2403241a-df5c-4436-bca8-835d7fdf5efb","title":"[New]\u2605Magic Cat Pink-Cat-36 inch","weight_unit":"kg","inventory_quantity":155,"sku":"MEPI000LOB0584F2","barcode":"","position":3,"option1":"[New]\u2605Magic Cat Pink","option2":"Cat","option3":"36 inch","note":"","image":{"src":"\/\/img.staticdj.com\/d1d10fd8cd10fdd9a6889859dfc53f93.jpg","path":"d1d10fd8cd10fdd9a6889859dfc53f93.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"26.99","retail_price":"0","available":true,"url":"\/products\/mewaii-original-design-magic-cat-pink-stuffed-animal-kawaii-plush-pillow-squishy-toy-6tme-8df2?variant=5566452a-10fe-40d3-a477-ca8709767e07","available_quantity":155,"options":[{"name":"Style","value":"[New]\u2605Magic Cat Pink"},{"name":"Role","value":"Cat"},{"name":"Size","value":"36 inch"}],"off_ratio":0,"flashsale_info":[],"sales":3};
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":"5566452a-10fe-40d3-a477-ca8709767e07","product_id":"2403241a-df5c-4436-bca8-835d7fdf5efb","title":"[New]\u2605Magic Cat Pink-Cat-36 inch","weight_unit":"kg","inventory_quantity":155,"sku":"MEPI000LOB0584F2","barcode":"","position":3,"option1":"[New]\u2605Magic Cat Pink","option2":"Cat","option3":"36 inch","note":"","image":{"src":"\/\/img.staticdj.com\/d1d10fd8cd10fdd9a6889859dfc53f93.jpg","path":"d1d10fd8cd10fdd9a6889859dfc53f93.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"26.99","retail_price":"0","available":true,"url":"\/products\/mewaii-original-design-magic-cat-pink-stuffed-animal-kawaii-plush-pillow-squishy-toy-6tme-8df2?variant=5566452a-10fe-40d3-a477-ca8709767e07","available_quantity":155,"options":[{"name":"Style","value":"[New]\u2605Magic Cat Pink"},{"name":"Role","value":"Cat"},{"name":"Size","value":"36 inch"}],"off_ratio":0,"flashsale_info":[],"sales":3};
return `
Inventaire : ${variantData && variantData.available_quantity}
`
}()}