${function() {
const variantData = data.variant || {"id":"2e24772e-dce0-4949-9d05-e5bfd726e6f4","product_id":"f7144730-51c1-4fd1-abb7-717e1b9011d2","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"YS-LX23080701-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/40126fa065b93e6e930f814419fce122.jpeg","path":"40126fa065b93e6e930f814419fce122.jpeg","width":750,"height":1000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":38.9,"min_quantity":1}],"weight":"0","compare_at_price":"52.85","price":"38.9","retail_price":"52.85","available":true,"url":"\/products\/elegant-printed-v-neck-half-length-sleeve-dress-w6t9?variant=2e24772e-dce0-4949-9d05-e5bfd726e6f4","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":26,"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":"2e24772e-dce0-4949-9d05-e5bfd726e6f4","product_id":"f7144730-51c1-4fd1-abb7-717e1b9011d2","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"YS-LX23080701-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/40126fa065b93e6e930f814419fce122.jpeg","path":"40126fa065b93e6e930f814419fce122.jpeg","width":750,"height":1000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":38.9,"min_quantity":1}],"weight":"0","compare_at_price":"52.85","price":"38.9","retail_price":"52.85","available":true,"url":"\/products\/elegant-printed-v-neck-half-length-sleeve-dress-w6t9?variant=2e24772e-dce0-4949-9d05-e5bfd726e6f4","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":26,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}