1Pc matte black Ballpoint Pen Metal Gun Grey Roman Column School Office Supplies Stationery Ink Gel Pen
${function() {
const variantData = data.variant || {"id":"168e569f-08b0-4f0f-8a83-073044e38bd8","product_id":"970f8de9-5162-400f-9404-fc6e3f8971ce","title":"A-4","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"A-4","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/aed4b0c80f225294cb41b8efe79b562f.jpeg","path":"aed4b0c80f225294cb41b8efe79b562f.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":0.43,"min_quantity":1}],"weight":"0","compare_at_price":"0.95","price":"0.43","retail_price":"0.95","available":true,"url":"\/products\/1pc-matte-black-ballpoint-pen-metal-gun-grey-roman-column-school-office-supplies-stationery-ink-gel-pen?variant=168e569f-08b0-4f0f-8a83-073044e38bd8","available_quantity":999999999,"options":[{"name":"Color","value":"A-4"}],"off_ratio":55,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"168e569f-08b0-4f0f-8a83-073044e38bd8","product_id":"970f8de9-5162-400f-9404-fc6e3f8971ce","title":"A-4","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"A-4","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/aed4b0c80f225294cb41b8efe79b562f.jpeg","path":"aed4b0c80f225294cb41b8efe79b562f.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":0.43,"min_quantity":1}],"weight":"0","compare_at_price":"0.95","price":"0.43","retail_price":"0.95","available":true,"url":"\/products\/1pc-matte-black-ballpoint-pen-metal-gun-grey-roman-column-school-office-supplies-stationery-ink-gel-pen?variant=168e569f-08b0-4f0f-8a83-073044e38bd8","available_quantity":999999999,"options":[{"name":"Color","value":"A-4"}],"off_ratio":55,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}
${function() {
const minDays = parseInt('15');
const maxDays = parseInt('30');
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}
`;
}()}