${function() {
const variantData = data.variant || {"id":"36294486-ed68-4e29-9665-7bd65b6cb830","product_id":"1fc61719-bfdd-4708-ba4b-dbd98a183a43","title":"blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"XKLW21B-U989-blue-S","barcode":"","position":1,"option1":"blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/08711830be7ef6a27fdb9e9fbe15661c.jpeg","path":"08711830be7ef6a27fdb9e9fbe15661c.jpeg","width":1020,"height":1020,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"56.99","price":"25.99","retail_price":"56.99","available":true,"url":"\/products\/its-a-good-day-to-have-a-good-day-print-womens-hoodie00683d4d-0bfe-4083-ae80-0ce98eb683e3?variant=36294486-ed68-4e29-9665-7bd65b6cb830","available_quantity":999999999,"options":[{"name":"Color","value":"blue"},{"name":"Size","value":"S"}],"off_ratio":54,"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":"36294486-ed68-4e29-9665-7bd65b6cb830","product_id":"1fc61719-bfdd-4708-ba4b-dbd98a183a43","title":"blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"XKLW21B-U989-blue-S","barcode":"","position":1,"option1":"blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/08711830be7ef6a27fdb9e9fbe15661c.jpeg","path":"08711830be7ef6a27fdb9e9fbe15661c.jpeg","width":1020,"height":1020,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"56.99","price":"25.99","retail_price":"56.99","available":true,"url":"\/products\/its-a-good-day-to-have-a-good-day-print-womens-hoodie00683d4d-0bfe-4083-ae80-0ce98eb683e3?variant=36294486-ed68-4e29-9665-7bd65b6cb830","available_quantity":999999999,"options":[{"name":"Color","value":"blue"},{"name":"Size","value":"S"}],"off_ratio":54,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}