6PCS/Set Fog Matte Lipstick
${function() {
const variantData = data.variant || {"id":"26fc1117-a8b6-40d8-bae4-ed5fb8a9e37a","product_id":"c5a9b320-bf75-46d0-bb28-fa74125f98b0","title":"Set-6PCS(H1042)","weight_unit":"kg","inventory_quantity":1000,"sku":"200001176:200006151#Set-6PCS(H1042)","barcode":"","position":1,"option1":"Set-6PCS(H1042)","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0a2633828e7b8b8d380bdf1dce3c2d55.jpeg","path":"0a2633828e7b8b8d380bdf1dce3c2d55.jpeg","width":800,"height":800,"alt":"6PCS\/Set Fog Matte Lipstick","aspect_ratio":1},"wholesale_price":[{"price":10.28,"min_quantity":1}],"weight":"0","compare_at_price":"10.28","price":"10.28","retail_price":"10.28","available":true,"url":"\/products\/handaiyan-6pcs-set-fog-matte-lipstick-long-lasting-lip-stick-smudge-free-highly-pigmented-velvet-finish-lip-tint-makeup-cosmetic?variant=26fc1117-a8b6-40d8-bae4-ed5fb8a9e37a","available_quantity":999999999,"options":[{"name":"Color","value":"Set-6PCS(H1042)"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
(Tax included)
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
(Tax included)
`;
}()}
people are viewing this right now
${function() {
const minDays = parseInt('3');
const maxDays = parseInt('7');
const customText = "Estimated Delivery\uff1a{min_date} - {max_date}";
const minDate = new Date(Date.now() + (minDays * 86400000));
const maxDate = new Date(Date.now() + (maxDays * 86400000));
const formatDate = (minDate.getFullYear() == maxDate.getFullYear() && minDate.getFullYear() == new Date().getFullYear())
? new Intl.DateTimeFormat('en', { month: 'short', day: '2-digit' })
: new Intl.DateTimeFormat('en', { month: 'short', day: '2-digit', year: 'numeric' });
const tipText = customText.replace(/\{min_date\}/g, '' + formatDate.format(minDate) + '')
.replace(/\{max_date\}/g, '' + formatDate.format(maxDate) + '');
return `
${tipText}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
${function() {
const minInventory = parseInt('1');
const maxInventory = parseInt('15');
const randomInventory = Math.round(Math.random() * (maxInventory - minInventory)) + minInventory;
const customText = "Only {stock} item(s) left in stock!".replace(/\{stock\}/g, '' + randomInventory + '');
const barWidth = (randomInventory / maxInventory) * 100 + '%';
return `
`;
}()}
Product was out of stock.
Product is unavailable.