${function() {
const variantData = data.variant || {"id":"0af79f38-b8d1-438b-947d-da00600a4777","product_id":"e12e6fcd-6f6d-4e44-ac27-9a3cd652c8c8","title":"Yellow-S","weight_unit":"kg","inventory_quantity":1000,"sku":"YS-CS23120609-Yellow-S","barcode":"","position":1,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fe3e7d906fc08e96bd2aa5c400b64994.jpeg","path":"fe3e7d906fc08e96bd2aa5c400b64994.jpeg","width":750,"height":1000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":28.8,"min_quantity":1}],"weight":"0","compare_at_price":"57.6","price":"28.8","retail_price":"57.6","available":true,"url":"\/products\/plus-size-printed-pocket-mid-length-dress-zqx2?variant=0af79f38-b8d1-438b-947d-da00600a4777","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"S"}],"off_ratio":50,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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":"0af79f38-b8d1-438b-947d-da00600a4777","product_id":"e12e6fcd-6f6d-4e44-ac27-9a3cd652c8c8","title":"Yellow-S","weight_unit":"kg","inventory_quantity":1000,"sku":"YS-CS23120609-Yellow-S","barcode":"","position":1,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fe3e7d906fc08e96bd2aa5c400b64994.jpeg","path":"fe3e7d906fc08e96bd2aa5c400b64994.jpeg","width":750,"height":1000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":28.8,"min_quantity":1}],"weight":"0","compare_at_price":"57.6","price":"28.8","retail_price":"57.6","available":true,"url":"\/products\/plus-size-printed-pocket-mid-length-dress-zqx2?variant=0af79f38-b8d1-438b-947d-da00600a4777","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"S"}],"off_ratio":50,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}