MEWAII ORANGE TIGER ET BLUE OURS Set 4pcs
${function() {
const variantData = data.variant || {"id":"951e6079-1ffb-4bab-ab0f-c009464a6304","product_id":"214062d1-549a-4dbe-9ff9-26f43acee9ea","title":"Tiger-Twin","weight_unit":"kg","inventory_quantity":0,"sku":"2307292-pihu-15","barcode":"","position":5,"option1":"Tiger","option2":"Twin","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/25cc9318393a27df6ef85c103133c1ed.jpeg","path":"25cc9318393a27df6ef85c103133c1ed.jpeg","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\/mewaii-orange-tiger-blue-bear-bedding-set-4pcs?variant=951e6079-1ffb-4bab-ab0f-c009464a6304","available_quantity":999999999,"options":[{"name":"Style","value":"Tiger"},{"name":"Size","value":"Twin"}],"off_ratio":0,"flashsale_info":[],"sales":98};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
les gens regardent ça en ce moment
Style:
Tiger
${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:
Twin
${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":"951e6079-1ffb-4bab-ab0f-c009464a6304","product_id":"214062d1-549a-4dbe-9ff9-26f43acee9ea","title":"Tiger-Twin","weight_unit":"kg","inventory_quantity":0,"sku":"2307292-pihu-15","barcode":"","position":5,"option1":"Tiger","option2":"Twin","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/25cc9318393a27df6ef85c103133c1ed.jpeg","path":"25cc9318393a27df6ef85c103133c1ed.jpeg","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\/mewaii-orange-tiger-blue-bear-bedding-set-4pcs?variant=951e6079-1ffb-4bab-ab0f-c009464a6304","available_quantity":999999999,"options":[{"name":"Style","value":"Tiger"},{"name":"Size","value":"Twin"}],"off_ratio":0,"flashsale_info":[],"sales":98};
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":"951e6079-1ffb-4bab-ab0f-c009464a6304","product_id":"214062d1-549a-4dbe-9ff9-26f43acee9ea","title":"Tiger-Twin","weight_unit":"kg","inventory_quantity":0,"sku":"2307292-pihu-15","barcode":"","position":5,"option1":"Tiger","option2":"Twin","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/25cc9318393a27df6ef85c103133c1ed.jpeg","path":"25cc9318393a27df6ef85c103133c1ed.jpeg","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\/mewaii-orange-tiger-blue-bear-bedding-set-4pcs?variant=951e6079-1ffb-4bab-ab0f-c009464a6304","available_quantity":999999999,"options":[{"name":"Style","value":"Tiger"},{"name":"Size","value":"Twin"}],"off_ratio":0,"flashsale_info":[],"sales":98};
return `
Inventaire : ${variantData && variantData.available_quantity}
`
}()}