Matte Velvet 12-Color Lip Gloss
${function() {
const variantData = data.variant || {"id":"284a2bad-89b1-4ff0-ab2f-e6cb6e59f7a4","product_id":"32f6c541-4373-439b-9877-f208a5372573","title":"H1012-09","weight_unit":"kg","inventory_quantity":1000,"sku":"200001176:173#H1012-09","barcode":"","position":1,"option1":"H1012-09","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a201095ed54a7c05d01a1cd6d58d2850.jpeg","path":"a201095ed54a7c05d01a1cd6d58d2850.jpeg","width":1000,"height":1000,"alt":"Matte Velvet 12-Color Lip Gloss","aspect_ratio":1},"wholesale_price":[{"price":6.16,"min_quantity":1}],"weight":"0","compare_at_price":"6.16","price":"6.16","retail_price":"6.16","available":true,"url":"\/products\/handaiyan-matte-velvet-12-color-lip-gloss-liquid-lipstick-long-lasting-waterproof-lip-tint?variant=284a2bad-89b1-4ff0-ab2f-e6cb6e59f7a4","available_quantity":999999999,"options":[{"name":"Color","value":"H1012-09"}],"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.