${function() {
const variantData = data.variant || {"id":"29ab3e4b-5eb3-40dc-9e6a-662380e94601","product_id":"c9054039-f9d9-451c-bf5a-7713ef668835","title":"apricot-L","weight_unit":"kg","inventory_quantity":1000,"sku":"apricot L-44368904","barcode":"","position":1,"option1":"apricot","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6f0114c41fa8254106fc8107307c89fe.jpeg","path":"6f0114c41fa8254106fc8107307c89fe.jpeg","width":814,"height":810,"alt":"","aspect_ratio":1.0049382716049382},"wholesale_price":[{"price":53.39,"min_quantity":1}],"weight":"0","compare_at_price":"53.39","price":"53.39","retail_price":"53.39","available":true,"url":"\/products\/retro-western-style-sweater-and-skirt-two-piece-set-207998490843?variant=29ab3e4b-5eb3-40dc-9e6a-662380e94601","available_quantity":999999999,"options":[{"name":"color","value":"apricot"},{"name":"size","value":"L"}],"off_ratio":0,"flashsale_info":[],"sales":0};
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":"29ab3e4b-5eb3-40dc-9e6a-662380e94601","product_id":"c9054039-f9d9-451c-bf5a-7713ef668835","title":"apricot-L","weight_unit":"kg","inventory_quantity":1000,"sku":"apricot L-44368904","barcode":"","position":1,"option1":"apricot","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6f0114c41fa8254106fc8107307c89fe.jpeg","path":"6f0114c41fa8254106fc8107307c89fe.jpeg","width":814,"height":810,"alt":"","aspect_ratio":1.0049382716049382},"wholesale_price":[{"price":53.39,"min_quantity":1}],"weight":"0","compare_at_price":"53.39","price":"53.39","retail_price":"53.39","available":true,"url":"\/products\/retro-western-style-sweater-and-skirt-two-piece-set-207998490843?variant=29ab3e4b-5eb3-40dc-9e6a-662380e94601","available_quantity":999999999,"options":[{"name":"color","value":"apricot"},{"name":"size","value":"L"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}