MeWaii® Original Design Cactus Cat Stuffed Animal Kawaii Plush Pillow Squishy Toy
${function() {
const variantData = data.variant || {"id":"6aeffcd8-a5e9-42b0-af8c-6e0658831edc","product_id":"885a7eae-3671-4b1c-aebd-643399ef2eac","title":"[New]\u2605Cactus Cat-Cat-44 inch","weight_unit":"kg","inventory_quantity":61,"sku":"MEPI000LOX0847G3","barcode":"","position":4,"option1":"[New]\u2605Cactus Cat","option2":"Cat","option3":"44 inch","note":"","image":{"src":"\/\/img.staticdj.com\/ee2dbdd515827791cc3d4e759327f6ff.jpg","path":"ee2dbdd515827791cc3d4e759327f6ff.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":38.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"38.99","retail_price":"0","available":true,"url":"\/products\/mewaii-original-design-cactus-cat-stuffed-animal-kawaii-plush-pillow-squishy-toy-6tme-8df2-beaz-bv8o-hppm?variant=6aeffcd8-a5e9-42b0-af8c-6e0658831edc","available_quantity":61,"options":[{"name":"Style","value":"[New]\u2605Cactus Cat"},{"name":"Role","value":"Cat"},{"name":"Size","value":"44 inch"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
les gens regardent ça en ce moment
Style:
[New]★Cactus 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:
44 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
€38.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":"6aeffcd8-a5e9-42b0-af8c-6e0658831edc","product_id":"885a7eae-3671-4b1c-aebd-643399ef2eac","title":"[New]\u2605Cactus Cat-Cat-44 inch","weight_unit":"kg","inventory_quantity":61,"sku":"MEPI000LOX0847G3","barcode":"","position":4,"option1":"[New]\u2605Cactus Cat","option2":"Cat","option3":"44 inch","note":"","image":{"src":"\/\/img.staticdj.com\/ee2dbdd515827791cc3d4e759327f6ff.jpg","path":"ee2dbdd515827791cc3d4e759327f6ff.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":38.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"38.99","retail_price":"0","available":true,"url":"\/products\/mewaii-original-design-cactus-cat-stuffed-animal-kawaii-plush-pillow-squishy-toy-6tme-8df2-beaz-bv8o-hppm?variant=6aeffcd8-a5e9-42b0-af8c-6e0658831edc","available_quantity":61,"options":[{"name":"Style","value":"[New]\u2605Cactus Cat"},{"name":"Role","value":"Cat"},{"name":"Size","value":"44 inch"}],"off_ratio":0,"flashsale_info":[],"sales":0};
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":"6aeffcd8-a5e9-42b0-af8c-6e0658831edc","product_id":"885a7eae-3671-4b1c-aebd-643399ef2eac","title":"[New]\u2605Cactus Cat-Cat-44 inch","weight_unit":"kg","inventory_quantity":61,"sku":"MEPI000LOX0847G3","barcode":"","position":4,"option1":"[New]\u2605Cactus Cat","option2":"Cat","option3":"44 inch","note":"","image":{"src":"\/\/img.staticdj.com\/ee2dbdd515827791cc3d4e759327f6ff.jpg","path":"ee2dbdd515827791cc3d4e759327f6ff.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":38.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"38.99","retail_price":"0","available":true,"url":"\/products\/mewaii-original-design-cactus-cat-stuffed-animal-kawaii-plush-pillow-squishy-toy-6tme-8df2-beaz-bv8o-hppm?variant=6aeffcd8-a5e9-42b0-af8c-6e0658831edc","available_quantity":61,"options":[{"name":"Style","value":"[New]\u2605Cactus Cat"},{"name":"Role","value":"Cat"},{"name":"Size","value":"44 inch"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Inventaire : ${variantData && variantData.available_quantity}
`
}()}