MeWaii®safari Oreiller décoratif Cover-Deep Navy Throw / Oreiller lombaire 45cm * 45cm
${function() {
const variantData = data.variant || {"id":"b60068f9-1526-40c2-9cc4-fb541ae5cd7e","product_id":"96fd67d3-11cf-41d0-8001-27679ff48fdc","title":"B","weight_unit":"kg","inventory_quantity":10,"sku":"2305204-lion","barcode":"","position":2,"option1":"B","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8a37232de4db6e6e9370154134213ed0.jpeg","path":"8a37232de4db6e6e9370154134213ed0.jpeg","width":2857,"height":2286,"alt":"","aspect_ratio":1.2497812773403325},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"23","price":"19.99","retail_price":"23","available":true,"url":"\/products\/mewaii\u00aesafari-decorative-pillow-cover-deep-navy-throw-lumbar-pillow-45cm-45cm?variant=b60068f9-1526-40c2-9cc4-fb541ae5cd7e","available_quantity":10,"options":[{"name":"Style","value":"B"}],"off_ratio":13,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
les gens regardent ça en ce moment
Style:
B
${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
€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":"b60068f9-1526-40c2-9cc4-fb541ae5cd7e","product_id":"96fd67d3-11cf-41d0-8001-27679ff48fdc","title":"B","weight_unit":"kg","inventory_quantity":10,"sku":"2305204-lion","barcode":"","position":2,"option1":"B","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8a37232de4db6e6e9370154134213ed0.jpeg","path":"8a37232de4db6e6e9370154134213ed0.jpeg","width":2857,"height":2286,"alt":"","aspect_ratio":1.2497812773403325},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"23","price":"19.99","retail_price":"23","available":true,"url":"\/products\/mewaii\u00aesafari-decorative-pillow-cover-deep-navy-throw-lumbar-pillow-45cm-45cm?variant=b60068f9-1526-40c2-9cc4-fb541ae5cd7e","available_quantity":10,"options":[{"name":"Style","value":"B"}],"off_ratio":13,"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":"b60068f9-1526-40c2-9cc4-fb541ae5cd7e","product_id":"96fd67d3-11cf-41d0-8001-27679ff48fdc","title":"B","weight_unit":"kg","inventory_quantity":10,"sku":"2305204-lion","barcode":"","position":2,"option1":"B","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8a37232de4db6e6e9370154134213ed0.jpeg","path":"8a37232de4db6e6e9370154134213ed0.jpeg","width":2857,"height":2286,"alt":"","aspect_ratio":1.2497812773403325},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"23","price":"19.99","retail_price":"23","available":true,"url":"\/products\/mewaii\u00aesafari-decorative-pillow-cover-deep-navy-throw-lumbar-pillow-45cm-45cm?variant=b60068f9-1526-40c2-9cc4-fb541ae5cd7e","available_quantity":10,"options":[{"name":"Style","value":"B"}],"off_ratio":13,"flashsale_info":[],"sales":0};
return `
Inventaire : ${variantData && variantData.available_quantity}
`
}()}