Point Drill Pen - Diamant Peinture Outils - Rouge à Lèvres
${function() {
const variantData = data.variant || {"id":"f3555aae-0109-49e6-bde8-c60587473216","product_id":"8c69ad15-762a-4351-ad58-b4e8487d652d","title":"Pink-1pcs","weight_unit":"kg","inventory_quantity":1000,"sku":"456746.02","barcode":"","position":1,"option1":"Pink","option2":"1pcs","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7bbc71f5938494d0a1184571a34e117f.jpg","path":"7bbc71f5938494d0a1184571a34e117f.jpg","width":960,"height":960,"alt":"fr.everydayedeals Point Drill Pen - Diamant Peinture Outils - Rouge \u00e0 L\u00e8vres","aspect_ratio":1},"wholesale_price":[{"price":3.99,"min_quantity":1}],"weight":"0.04","compare_at_price":"0","price":"3.99","retail_price":"0","available":true,"url":"\/products\/lip-stick-diamond-painting-point-drill-pen?variant=f3555aae-0109-49e6-bde8-c60587473216","available_quantity":1000,"options":[{"name":"Size","value":"Pink"},{"name":"Quantit\u00e9","value":"1pcs"}],"off_ratio":0,"flashsale_info":[],"sales":65};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Size:
Pink
${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}
`
}()}
Quantité:
1pcs
${function(){
const optName = "Quantité";
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
€3.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":"f3555aae-0109-49e6-bde8-c60587473216","product_id":"8c69ad15-762a-4351-ad58-b4e8487d652d","title":"Pink-1pcs","weight_unit":"kg","inventory_quantity":1000,"sku":"456746.02","barcode":"","position":1,"option1":"Pink","option2":"1pcs","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7bbc71f5938494d0a1184571a34e117f.jpg","path":"7bbc71f5938494d0a1184571a34e117f.jpg","width":960,"height":960,"alt":"fr.everydayedeals Point Drill Pen - Diamant Peinture Outils - Rouge \u00e0 L\u00e8vres","aspect_ratio":1},"wholesale_price":[{"price":3.99,"min_quantity":1}],"weight":"0.04","compare_at_price":"0","price":"3.99","retail_price":"0","available":true,"url":"\/products\/lip-stick-diamond-painting-point-drill-pen?variant=f3555aae-0109-49e6-bde8-c60587473216","available_quantity":1000,"options":[{"name":"Size","value":"Pink"},{"name":"Quantit\u00e9","value":"1pcs"}],"off_ratio":0,"flashsale_info":[],"sales":65};
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 ? `
` : ' ';
}
}()}
Acheter maintenant
Le produit était en rupture de stock.
Le produit n'est pas disponible.