MeWaii® Orange Cat Stuffed Animal Kawaii Plush Body Pillow Squishy
${function() {
const variantData = data.variant || {"id":"ffb660fa-40d4-461f-a4ae-554e47d8c963","product_id":"ef4b4704-77f6-4c38-a6a2-a0abfd2e1d55","title":"Orange Cat-Cat-28inch\/70cm","weight_unit":"kg","inventory_quantity":30,"sku":"MEPI000LON0306O1","barcode":"","position":1,"option1":"Orange Cat","option2":"Cat","option3":"28inch\/70cm","note":"","image":{"src":"\/\/img.staticdj.com\/e6edb45521ccd16718a990453c1b6b7f.jpg","path":"e6edb45521ccd16718a990453c1b6b7f.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":34.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"34.99","retail_price":"0","available":true,"url":"\/products\/orange-cat-stuffed-animal-kawaii-plush-body-pillow-squishy?variant=ffb660fa-40d4-461f-a4ae-554e47d8c963","available_quantity":30,"options":[{"name":"Style","value":"Orange Cat"},{"name":"Role","value":"Cat"},{"name":"Size","value":"28inch\/70cm"}],"off_ratio":0,"flashsale_info":[],"sales":521};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
les gens regardent ça en ce moment
Style:
Orange Cat
${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:
28inch/70cm
${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
€34.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":"ffb660fa-40d4-461f-a4ae-554e47d8c963","product_id":"ef4b4704-77f6-4c38-a6a2-a0abfd2e1d55","title":"Orange Cat-Cat-28inch\/70cm","weight_unit":"kg","inventory_quantity":30,"sku":"MEPI000LON0306O1","barcode":"","position":1,"option1":"Orange Cat","option2":"Cat","option3":"28inch\/70cm","note":"","image":{"src":"\/\/img.staticdj.com\/e6edb45521ccd16718a990453c1b6b7f.jpg","path":"e6edb45521ccd16718a990453c1b6b7f.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":34.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"34.99","retail_price":"0","available":true,"url":"\/products\/orange-cat-stuffed-animal-kawaii-plush-body-pillow-squishy?variant=ffb660fa-40d4-461f-a4ae-554e47d8c963","available_quantity":30,"options":[{"name":"Style","value":"Orange Cat"},{"name":"Role","value":"Cat"},{"name":"Size","value":"28inch\/70cm"}],"off_ratio":0,"flashsale_info":[],"sales":521};
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":"ffb660fa-40d4-461f-a4ae-554e47d8c963","product_id":"ef4b4704-77f6-4c38-a6a2-a0abfd2e1d55","title":"Orange Cat-Cat-28inch\/70cm","weight_unit":"kg","inventory_quantity":30,"sku":"MEPI000LON0306O1","barcode":"","position":1,"option1":"Orange Cat","option2":"Cat","option3":"28inch\/70cm","note":"","image":{"src":"\/\/img.staticdj.com\/e6edb45521ccd16718a990453c1b6b7f.jpg","path":"e6edb45521ccd16718a990453c1b6b7f.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":34.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"34.99","retail_price":"0","available":true,"url":"\/products\/orange-cat-stuffed-animal-kawaii-plush-body-pillow-squishy?variant=ffb660fa-40d4-461f-a4ae-554e47d8c963","available_quantity":30,"options":[{"name":"Style","value":"Orange Cat"},{"name":"Role","value":"Cat"},{"name":"Size","value":"28inch\/70cm"}],"off_ratio":0,"flashsale_info":[],"sales":521};
return `
Inventaire : ${variantData && variantData.available_quantity}
`
}()}