${function() {
const variantData = data.variant || {"id":"8807cb0b-99b9-4a45-9dd8-c782af864882","product_id":"d1a51279-da82-492f-bb9e-78c1c2f9f0b2","title":"Rose Red-S","weight_unit":"kg","inventory_quantity":1000,"sku":"YS-LX23100404-Rose Red-S","barcode":"","position":1,"option1":"Rose Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f6f95543bbff02c49fa957cc41021cef.jpeg","path":"f6f95543bbff02c49fa957cc41021cef.jpeg","width":750,"height":999,"alt":"","aspect_ratio":0.7507507507507507},"wholesale_price":[{"price":39.9,"min_quantity":1}],"weight":"0","compare_at_price":"86","price":"39.9","retail_price":"86","available":true,"url":"\/products\/soft-white-dress-tbx1?variant=8807cb0b-99b9-4a45-9dd8-c782af864882","available_quantity":999999999,"options":[{"name":"color","value":"Rose Red"},{"name":"size","value":"S"}],"off_ratio":54,"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":"8807cb0b-99b9-4a45-9dd8-c782af864882","product_id":"d1a51279-da82-492f-bb9e-78c1c2f9f0b2","title":"Rose Red-S","weight_unit":"kg","inventory_quantity":1000,"sku":"YS-LX23100404-Rose Red-S","barcode":"","position":1,"option1":"Rose Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f6f95543bbff02c49fa957cc41021cef.jpeg","path":"f6f95543bbff02c49fa957cc41021cef.jpeg","width":750,"height":999,"alt":"","aspect_ratio":0.7507507507507507},"wholesale_price":[{"price":39.9,"min_quantity":1}],"weight":"0","compare_at_price":"86","price":"39.9","retail_price":"86","available":true,"url":"\/products\/soft-white-dress-tbx1?variant=8807cb0b-99b9-4a45-9dd8-c782af864882","available_quantity":999999999,"options":[{"name":"color","value":"Rose Red"},{"name":"size","value":"S"}],"off_ratio":54,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}