${function() {
const variantData = data.variant || {"id":"0fe71b89-ac91-489d-82e0-f1123a61eeca","product_id":"e49ba17c-0afb-4d22-8584-fee34a20f301","title":"Brown-S","weight_unit":"kg","inventory_quantity":1000,"sku":"Brown S-14114400","barcode":"","position":6,"option1":"Brown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4a2caec91bd68896b5e327fb13d90dae.jpeg","path":"4a2caec91bd68896b5e327fb13d90dae.jpeg","width":750,"height":750,"alt":"Boho Concho Belt","aspect_ratio":1},"wholesale_price":[{"price":16.59,"min_quantity":1}],"weight":"0","compare_at_price":"16.59","price":"16.59","retail_price":"16.59","available":true,"url":"\/products\/boho-concho-belt-208533093246?variant=0fe71b89-ac91-489d-82e0-f1123a61eeca","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":2};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ``
)}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
${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":"0fe71b89-ac91-489d-82e0-f1123a61eeca","product_id":"e49ba17c-0afb-4d22-8584-fee34a20f301","title":"Brown-S","weight_unit":"kg","inventory_quantity":1000,"sku":"Brown S-14114400","barcode":"","position":6,"option1":"Brown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4a2caec91bd68896b5e327fb13d90dae.jpeg","path":"4a2caec91bd68896b5e327fb13d90dae.jpeg","width":750,"height":750,"alt":"Boho Concho Belt","aspect_ratio":1},"wholesale_price":[{"price":16.59,"min_quantity":1}],"weight":"0","compare_at_price":"16.59","price":"16.59","retail_price":"16.59","available":true,"url":"\/products\/boho-concho-belt-208533093246?variant=0fe71b89-ac91-489d-82e0-f1123a61eeca","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":2};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}