${function() {
const variantData = data.variant || {"id":"06f7029f-9352-4e2f-83fb-810a243a5d7f","product_id":"ef5b04ca-3450-484a-88ba-1aae526d46de","title":"Green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"UN1923622-16-13-S","barcode":"","position":17,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e6f152b9ec514ee616302c39e4254add.jpeg","path":"e6f152b9ec514ee616302c39e4254add.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":32.99,"min_quantity":1}],"weight":"0","compare_at_price":"62.99","price":"32.99","retail_price":"62.99","available":true,"url":"\/products\/mens-sweatshirt681690f1-ddbe-48d5-9696-9627a3a35db3?variant=06f7029f-9352-4e2f-83fb-810a243a5d7f","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":48,"flashsale_info":[],"sales":2};
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":"06f7029f-9352-4e2f-83fb-810a243a5d7f","product_id":"ef5b04ca-3450-484a-88ba-1aae526d46de","title":"Green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"UN1923622-16-13-S","barcode":"","position":17,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e6f152b9ec514ee616302c39e4254add.jpeg","path":"e6f152b9ec514ee616302c39e4254add.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":32.99,"min_quantity":1}],"weight":"0","compare_at_price":"62.99","price":"32.99","retail_price":"62.99","available":true,"url":"\/products\/mens-sweatshirt681690f1-ddbe-48d5-9696-9627a3a35db3?variant=06f7029f-9352-4e2f-83fb-810a243a5d7f","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":48,"flashsale_info":[],"sales":2};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}