Face Highlighter Lotion
${function() {
const variantData = data.variant || {"id":"d0eca3d6-4f2c-4fd2-9943-feb554c3c76e","product_id":"8ea704aa-9af6-4f80-911c-b45c039dc3ba","title":"11089-01","weight_unit":"kg","inventory_quantity":1000,"sku":"200001176:200004889#11089-01","barcode":"","position":1,"option1":"11089-01","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/505e1f7e6d4f6ec0e7cfc0bcfa84a758.jpeg","path":"505e1f7e6d4f6ec0e7cfc0bcfa84a758.jpeg","width":1000,"height":1000,"alt":"Face Highlighter Lotion","aspect_ratio":1},"wholesale_price":[{"price":3.85,"min_quantity":1}],"weight":"0","compare_at_price":"3.85","price":"3.85","retail_price":"3.85","available":true,"url":"\/products\/handaiyan-face-highlighter-lotion-summer-beach-sexy-full-body-glow-body-highlighter?variant=d0eca3d6-4f2c-4fd2-9943-feb554c3c76e","available_quantity":999999999,"options":[{"name":"Color","value":"11089-01"}],"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.