${function() {
const variantData = data.variant || {"id":"b4832a7e-69f1-4927-89ea-38cfd0aacc78","product_id":"4ac125b9-7b5b-42f8-9e70-53c1c708d3d5","title":"Brown-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MJK262907-BRO00S","barcode":"","position":1,"option1":"Brown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5bc3a888119b95a64a72d2860349febd.jpeg","path":"5bc3a888119b95a64a72d2860349febd.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":34.99,"min_quantity":1}],"weight":"0","compare_at_price":"34.99","price":"34.99","retail_price":"34.99","available":true,"url":"\/products\/fashion-simple-geometric-print-mens-woolen-jacket-2?variant=b4832a7e-69f1-4927-89ea-38cfd0aacc78","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"S"}],"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":"b4832a7e-69f1-4927-89ea-38cfd0aacc78","product_id":"4ac125b9-7b5b-42f8-9e70-53c1c708d3d5","title":"Brown-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MJK262907-BRO00S","barcode":"","position":1,"option1":"Brown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5bc3a888119b95a64a72d2860349febd.jpeg","path":"5bc3a888119b95a64a72d2860349febd.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":34.99,"min_quantity":1}],"weight":"0","compare_at_price":"34.99","price":"34.99","retail_price":"34.99","available":true,"url":"\/products\/fashion-simple-geometric-print-mens-woolen-jacket-2?variant=b4832a7e-69f1-4927-89ea-38cfd0aacc78","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}