MeWaii® Stuffed Animal Kawaii Starry Sky Bat Plush Pillow Squishy Toy With Hoodie
${function() {
const variantData = data.variant || {"id":"6faf1624-c379-47ee-a19b-37e64bd18eae","product_id":"981013c0-f6cf-45a5-b42d-3754a29ee906","title":"Starry Sky Bat-9inch\/23cm","weight_unit":"kg","inventory_quantity":77,"sku":"MEPI000STA1229M1","barcode":"","position":1,"option1":"Starry Sky Bat","option2":"9inch\/23cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e6128fe8f1eaf29b2e06cb3a039e8690.jpg","path":"e6128fe8f1eaf29b2e06cb3a039e8690.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":17.99,"min_quantity":1}],"weight":"0","compare_at_price":"19.99","price":"17.99","retail_price":"19.99","available":true,"url":"\/products\/mewaii\u00ae-stuffed-animal-kawaii-starry-sky-bat-plush-pillow-squishy-toy-with-hoodie?variant=6faf1624-c379-47ee-a19b-37e64bd18eae","available_quantity":999999999,"options":[{"name":"Style","value":"Starry Sky Bat"},{"name":"Size","value":"9inch\/23cm"}],"off_ratio":10,"flashsale_info":[],"sales":92};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
les gens regardent ça en ce moment
Style:
Starry Sky Bat
${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:
9inch/23cm
${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
€17.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":"6faf1624-c379-47ee-a19b-37e64bd18eae","product_id":"981013c0-f6cf-45a5-b42d-3754a29ee906","title":"Starry Sky Bat-9inch\/23cm","weight_unit":"kg","inventory_quantity":77,"sku":"MEPI000STA1229M1","barcode":"","position":1,"option1":"Starry Sky Bat","option2":"9inch\/23cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e6128fe8f1eaf29b2e06cb3a039e8690.jpg","path":"e6128fe8f1eaf29b2e06cb3a039e8690.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":17.99,"min_quantity":1}],"weight":"0","compare_at_price":"19.99","price":"17.99","retail_price":"19.99","available":true,"url":"\/products\/mewaii\u00ae-stuffed-animal-kawaii-starry-sky-bat-plush-pillow-squishy-toy-with-hoodie?variant=6faf1624-c379-47ee-a19b-37e64bd18eae","available_quantity":999999999,"options":[{"name":"Style","value":"Starry Sky Bat"},{"name":"Size","value":"9inch\/23cm"}],"off_ratio":10,"flashsale_info":[],"sales":92};
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":"6faf1624-c379-47ee-a19b-37e64bd18eae","product_id":"981013c0-f6cf-45a5-b42d-3754a29ee906","title":"Starry Sky Bat-9inch\/23cm","weight_unit":"kg","inventory_quantity":77,"sku":"MEPI000STA1229M1","barcode":"","position":1,"option1":"Starry Sky Bat","option2":"9inch\/23cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e6128fe8f1eaf29b2e06cb3a039e8690.jpg","path":"e6128fe8f1eaf29b2e06cb3a039e8690.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":17.99,"min_quantity":1}],"weight":"0","compare_at_price":"19.99","price":"17.99","retail_price":"19.99","available":true,"url":"\/products\/mewaii\u00ae-stuffed-animal-kawaii-starry-sky-bat-plush-pillow-squishy-toy-with-hoodie?variant=6faf1624-c379-47ee-a19b-37e64bd18eae","available_quantity":999999999,"options":[{"name":"Style","value":"Starry Sky Bat"},{"name":"Size","value":"9inch\/23cm"}],"off_ratio":10,"flashsale_info":[],"sales":92};
return `
Inventaire : ${variantData && variantData.available_quantity}
`
}()}