${function() {
const variantData = data.variant || {"id":"ba1aeb93-7817-4860-b5f2-bcd14761cc80","product_id":"26685727-fc5c-4f64-ac22-7eb6cd50d49e","title":"blue-3XL","weight_unit":"kg","inventory_quantity":1000,"sku":"blue 3XL-42994843","barcode":"","position":1,"option1":"blue","option2":"3XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cf034b691cea07274e4691b6505e1d95.jpeg","path":"cf034b691cea07274e4691b6505e1d95.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":25.61,"min_quantity":1}],"weight":"0","compare_at_price":"25.61","price":"25.61","retail_price":"25.61","available":true,"url":"\/products\/elegant-floral-print-v-neck-pocket-short-sleeve-vacation-dress-208529306322?variant=ba1aeb93-7817-4860-b5f2-bcd14761cc80","available_quantity":999999999,"options":[{"name":"Color","value":"blue"},{"name":"Size","value":"3XL"}],"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":"ba1aeb93-7817-4860-b5f2-bcd14761cc80","product_id":"26685727-fc5c-4f64-ac22-7eb6cd50d49e","title":"blue-3XL","weight_unit":"kg","inventory_quantity":1000,"sku":"blue 3XL-42994843","barcode":"","position":1,"option1":"blue","option2":"3XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cf034b691cea07274e4691b6505e1d95.jpeg","path":"cf034b691cea07274e4691b6505e1d95.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":25.61,"min_quantity":1}],"weight":"0","compare_at_price":"25.61","price":"25.61","retail_price":"25.61","available":true,"url":"\/products\/elegant-floral-print-v-neck-pocket-short-sleeve-vacation-dress-208529306322?variant=ba1aeb93-7817-4860-b5f2-bcd14761cc80","available_quantity":999999999,"options":[{"name":"Color","value":"blue"},{"name":"Size","value":"3XL"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}