${function() {
const variantData = data.variant || {"id":"b818c7fc-4bd6-45cc-b4f3-d975838dc787","product_id":"06ea117f-5f67-46c0-91cc-33710315293e","title":"Black-S","weight_unit":"g","inventory_quantity":651,"sku":"101919330001","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f91cd4c4f4f233e98500c89e95b2b416.jpeg","path":"f91cd4c4f4f233e98500c89e95b2b416.jpeg","width":2000,"height":2000,"alt":"Treat Her Right Print Men's Vest - ","aspect_ratio":1},"wholesale_price":[{"price":13.98,"min_quantity":1}],"weight":"200","compare_at_price":"21.48","price":"13.98","retail_price":"21.48","available":true,"url":"\/products\/treat-her-right-print-mens-vest?variant=b818c7fc-4bd6-45cc-b4f3-d975838dc787","available_quantity":651,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":35,"flashsale_info":[],"sales":6};
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":"b818c7fc-4bd6-45cc-b4f3-d975838dc787","product_id":"06ea117f-5f67-46c0-91cc-33710315293e","title":"Black-S","weight_unit":"g","inventory_quantity":651,"sku":"101919330001","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f91cd4c4f4f233e98500c89e95b2b416.jpeg","path":"f91cd4c4f4f233e98500c89e95b2b416.jpeg","width":2000,"height":2000,"alt":"Treat Her Right Print Men's Vest - ","aspect_ratio":1},"wholesale_price":[{"price":13.98,"min_quantity":1}],"weight":"200","compare_at_price":"21.48","price":"13.98","retail_price":"21.48","available":true,"url":"\/products\/treat-her-right-print-mens-vest?variant=b818c7fc-4bd6-45cc-b4f3-d975838dc787","available_quantity":651,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":35,"flashsale_info":[],"sales":6};
return `
`
}()}