MeWaii® Cute Animal Purple Magic Cat Plush Pillow Kawaii Plushies Stuffed Toys Squishy Plushies Cuddle Body Pillow
${function() {
const variantData = data.variant || {"id":"a4c4bfbd-9ff5-47a0-ac13-dda770c67a89","product_id":"7ee3c3bb-7188-4505-ba5e-982e13f96655","title":"Purple Magic Cat-13 inch","weight_unit":"kg","inventory_quantity":28,"sku":"MEPI000SAN0755B1","barcode":"","position":1,"option1":"Purple Magic Cat","option2":"13 inch","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e97f3dbe591f9da2bd9bfb3afd74a658.jpg","path":"e97f3dbe591f9da2bd9bfb3afd74a658.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"22","price":"19.99","retail_price":"22","available":true,"url":"\/products\/mewaii\u00ae-cute-purple-magic-cat-animal-plush-pillow-kawaii-plushies-stuffed-toys-squishy-plushies-cuddle-body-pillow?variant=a4c4bfbd-9ff5-47a0-ac13-dda770c67a89","available_quantity":28,"options":[{"name":"Style","value":"Purple Magic Cat"},{"name":"Size","value":"13 inch"}],"off_ratio":9,"flashsale_info":[],"sales":247};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
les gens regardent ça en ce moment
Style:
Purple Magic 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}
`
}()}
Size:
13 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
€19.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":"a4c4bfbd-9ff5-47a0-ac13-dda770c67a89","product_id":"7ee3c3bb-7188-4505-ba5e-982e13f96655","title":"Purple Magic Cat-13 inch","weight_unit":"kg","inventory_quantity":28,"sku":"MEPI000SAN0755B1","barcode":"","position":1,"option1":"Purple Magic Cat","option2":"13 inch","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e97f3dbe591f9da2bd9bfb3afd74a658.jpg","path":"e97f3dbe591f9da2bd9bfb3afd74a658.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"22","price":"19.99","retail_price":"22","available":true,"url":"\/products\/mewaii\u00ae-cute-purple-magic-cat-animal-plush-pillow-kawaii-plushies-stuffed-toys-squishy-plushies-cuddle-body-pillow?variant=a4c4bfbd-9ff5-47a0-ac13-dda770c67a89","available_quantity":28,"options":[{"name":"Style","value":"Purple Magic Cat"},{"name":"Size","value":"13 inch"}],"off_ratio":9,"flashsale_info":[],"sales":247};
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":"a4c4bfbd-9ff5-47a0-ac13-dda770c67a89","product_id":"7ee3c3bb-7188-4505-ba5e-982e13f96655","title":"Purple Magic Cat-13 inch","weight_unit":"kg","inventory_quantity":28,"sku":"MEPI000SAN0755B1","barcode":"","position":1,"option1":"Purple Magic Cat","option2":"13 inch","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e97f3dbe591f9da2bd9bfb3afd74a658.jpg","path":"e97f3dbe591f9da2bd9bfb3afd74a658.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"22","price":"19.99","retail_price":"22","available":true,"url":"\/products\/mewaii\u00ae-cute-purple-magic-cat-animal-plush-pillow-kawaii-plushies-stuffed-toys-squishy-plushies-cuddle-body-pillow?variant=a4c4bfbd-9ff5-47a0-ac13-dda770c67a89","available_quantity":28,"options":[{"name":"Style","value":"Purple Magic Cat"},{"name":"Size","value":"13 inch"}],"off_ratio":9,"flashsale_info":[],"sales":247};
return `
Inventaire : ${variantData && variantData.available_quantity}
`
}()}