Simple Multi-layer Pearl Shaped Pendant Necklace
${function() {
const variantData = data.variant || {"id":"763faa1e-5b89-4685-bc6a-a641786b1ef6","product_id":"78475d24-cdf4-4c69-9a69-19ce14e027cc","title":"White","weight_unit":"kg","inventory_quantity":0,"sku":"2111101204-White","barcode":"","position":1,"option1":"White","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ef49159bc864ee163a4649bdf307cd05.jpeg","path":"ef49159bc864ee163a4649bdf307cd05.jpeg","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":12.3,"min_quantity":1}],"weight":"0.04","compare_at_price":"14.47","price":"12.3","retail_price":"14.47","available":true,"url":"\/products\/simple-multi-layer-pearl-shaped-pendant-necklace?variant=763faa1e-5b89-4685-bc6a-a641786b1ef6","available_quantity":999999999,"options":[{"name":"Color","value":"White"}],"off_ratio":15,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function() {
const minDays = parseInt('8');
const maxDays = parseInt('15');
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}
`
}()}
people are viewing this right now
Product was out of stock.
Product is unavailable.