[Alerte Grosse Vente!] 6 "MeWaii® Sac Mystère Cuteee Famille - 1 SAC
${function() {
const variantData = data.variant || {"id":"7f82eba9-0730-49af-a4af-88276218c35f","product_id":"d3196e00-c0d1-4623-9442-dafa6001a9ec","title":"1 pc","weight_unit":"kg","inventory_quantity":-2,"sku":"MEPI000MUS0723M1","barcode":"","position":1,"option1":"1 pc","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6460f3693f5742803805db319d62b510.webp","path":"6460f3693f5742803805db319d62b510.webp","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":6.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"6.99","retail_price":"0","available":true,"url":"\/products\/big-sale-alert-6-mewaii\u00ae-mystery-bag-cute-family-1-bag?variant=7f82eba9-0730-49af-a4af-88276218c35f","available_quantity":999999999,"options":[{"name":"Style","value":"1 pc"}],"off_ratio":0,"flashsale_info":[],"sales":295};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
les gens regardent ça en ce moment
Style:
1 pc
${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}
`
}()}
Ajouter au panier
€6.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":"7f82eba9-0730-49af-a4af-88276218c35f","product_id":"d3196e00-c0d1-4623-9442-dafa6001a9ec","title":"1 pc","weight_unit":"kg","inventory_quantity":-2,"sku":"MEPI000MUS0723M1","barcode":"","position":1,"option1":"1 pc","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6460f3693f5742803805db319d62b510.webp","path":"6460f3693f5742803805db319d62b510.webp","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":6.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"6.99","retail_price":"0","available":true,"url":"\/products\/big-sale-alert-6-mewaii\u00ae-mystery-bag-cute-family-1-bag?variant=7f82eba9-0730-49af-a4af-88276218c35f","available_quantity":999999999,"options":[{"name":"Style","value":"1 pc"}],"off_ratio":0,"flashsale_info":[],"sales":295};
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":"7f82eba9-0730-49af-a4af-88276218c35f","product_id":"d3196e00-c0d1-4623-9442-dafa6001a9ec","title":"1 pc","weight_unit":"kg","inventory_quantity":-2,"sku":"MEPI000MUS0723M1","barcode":"","position":1,"option1":"1 pc","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6460f3693f5742803805db319d62b510.webp","path":"6460f3693f5742803805db319d62b510.webp","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":6.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"6.99","retail_price":"0","available":true,"url":"\/products\/big-sale-alert-6-mewaii\u00ae-mystery-bag-cute-family-1-bag?variant=7f82eba9-0730-49af-a4af-88276218c35f","available_quantity":999999999,"options":[{"name":"Style","value":"1 pc"}],"off_ratio":0,"flashsale_info":[],"sales":295};
return `
Inventaire : ${variantData && variantData.available_quantity}
`
}()}