${function() {
const variantData = data.variant || {"id":"b4baa2b3-d222-4867-a5c4-25720e9ce890","product_id":"17a84352-e2a3-428b-932b-cfc25c6fdf9c","title":"apricot-L","weight_unit":"kg","inventory_quantity":1000,"sku":"apricot L-44931832","barcode":"","position":1,"option1":"apricot","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/aee97ee557b2efac2bde3639b52fb579.jpeg","path":"aee97ee557b2efac2bde3639b52fb579.jpeg","width":700,"height":700,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":64.57,"min_quantity":1}],"weight":"0","compare_at_price":"64.57","price":"64.57","retail_price":"64.57","available":true,"url":"\/products\/temperament-and-personality-knitted-suit-207998478051?variant=b4baa2b3-d222-4867-a5c4-25720e9ce890","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":"b4baa2b3-d222-4867-a5c4-25720e9ce890","product_id":"17a84352-e2a3-428b-932b-cfc25c6fdf9c","title":"apricot-L","weight_unit":"kg","inventory_quantity":1000,"sku":"apricot L-44931832","barcode":"","position":1,"option1":"apricot","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/aee97ee557b2efac2bde3639b52fb579.jpeg","path":"aee97ee557b2efac2bde3639b52fb579.jpeg","width":700,"height":700,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":64.57,"min_quantity":1}],"weight":"0","compare_at_price":"64.57","price":"64.57","retail_price":"64.57","available":true,"url":"\/products\/temperament-and-personality-knitted-suit-207998478051?variant=b4baa2b3-d222-4867-a5c4-25720e9ce890","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}
`
}()}