🎁Last Day 49% OFF-coverage concealer
${function() {
const variantData = data.variant || {"id":"7bb48b0d-b900-4764-9382-8f9e1d776dbc","product_id":"7248cd1a-b1f2-429a-bf44-44763dd26b14","title":"NATURAL(#01)-1 BOTTLES\ud83d\udc95","weight_unit":"kg","inventory_quantity":0,"sku":"SLRIIN5O-0001","barcode":"","position":1,"option1":"NATURAL(#01)","option2":"1 BOTTLES\ud83d\udc95","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/526e14e69f812f9b31e6bd3d32f7e135.jpeg","path":"526e14e69f812f9b31e6bd3d32f7e135.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":22.99,"min_quantity":1}],"weight":"0","compare_at_price":"45.98","price":"22.99","retail_price":"45.98","available":true,"url":"\/products\/\ud83c\udf81last-day-49-off-coverage-concealer?variant=7bb48b0d-b900-4764-9382-8f9e1d776dbc","available_quantity":999999999,"options":[{"name":"Color","value":"NATURAL(#01)"},{"name":"\ud83d\udd2592.8% Of Customers Buy 2 Or More","value":"1 BOTTLES\ud83d\udc95"}],"off_ratio":50,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
Color:
NATURAL(#01)
${function(){
const optName = "Color";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
🔥92.8% Of Customers Buy 2 Or More:
1 BOTTLES💕
${function(){
const optName = "🔥92.8% Of Customers Buy 2 Or More";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Add to cart
$22.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":"7bb48b0d-b900-4764-9382-8f9e1d776dbc","product_id":"7248cd1a-b1f2-429a-bf44-44763dd26b14","title":"NATURAL(#01)-1 BOTTLES\ud83d\udc95","weight_unit":"kg","inventory_quantity":0,"sku":"SLRIIN5O-0001","barcode":"","position":1,"option1":"NATURAL(#01)","option2":"1 BOTTLES\ud83d\udc95","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/526e14e69f812f9b31e6bd3d32f7e135.jpeg","path":"526e14e69f812f9b31e6bd3d32f7e135.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":22.99,"min_quantity":1}],"weight":"0","compare_at_price":"45.98","price":"22.99","retail_price":"45.98","available":true,"url":"\/products\/\ud83c\udf81last-day-49-off-coverage-concealer?variant=7bb48b0d-b900-4764-9382-8f9e1d776dbc","available_quantity":999999999,"options":[{"name":"Color","value":"NATURAL(#01)"},{"name":"\ud83d\udd2592.8% Of Customers Buy 2 Or More","value":"1 BOTTLES\ud83d\udc95"}],"off_ratio":50,"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 ? `
` : ' ';
}
}()}
Buy now
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"7bb48b0d-b900-4764-9382-8f9e1d776dbc","product_id":"7248cd1a-b1f2-429a-bf44-44763dd26b14","title":"NATURAL(#01)-1 BOTTLES\ud83d\udc95","weight_unit":"kg","inventory_quantity":0,"sku":"SLRIIN5O-0001","barcode":"","position":1,"option1":"NATURAL(#01)","option2":"1 BOTTLES\ud83d\udc95","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/526e14e69f812f9b31e6bd3d32f7e135.jpeg","path":"526e14e69f812f9b31e6bd3d32f7e135.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":22.99,"min_quantity":1}],"weight":"0","compare_at_price":"45.98","price":"22.99","retail_price":"45.98","available":true,"url":"\/products\/\ud83c\udf81last-day-49-off-coverage-concealer?variant=7bb48b0d-b900-4764-9382-8f9e1d776dbc","available_quantity":999999999,"options":[{"name":"Color","value":"NATURAL(#01)"},{"name":"\ud83d\udd2592.8% Of Customers Buy 2 Or More","value":"1 BOTTLES\ud83d\udc95"}],"off_ratio":50,"flashsale_info":[],"sales":0};
return `
`
}()}