${function() {
const variantData = data.variant || {"id":"b17611af-bc1f-4ac9-87fe-f666a1f10022","product_id":"da2593d5-822c-41f9-ba80-0d85090d99af","title":"White-S","weight_unit":"g","inventory_quantity":672,"sku":"101835290025","barcode":"","position":25,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7500d29ee428387b63215fd5471b6905.jpeg","path":"7500d29ee428387b63215fd5471b6905.jpeg","width":800,"height":800,"alt":"Treat Her Right Printed Men's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":14.98,"min_quantity":1}],"weight":"284.5","compare_at_price":"21.48","price":"14.98","retail_price":"21.48","available":true,"url":"\/products\/treat-her-right-printed-mens-t-shirt?variant=b17611af-bc1f-4ac9-87fe-f666a1f10022","available_quantity":672,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":1941};
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":"b17611af-bc1f-4ac9-87fe-f666a1f10022","product_id":"da2593d5-822c-41f9-ba80-0d85090d99af","title":"White-S","weight_unit":"g","inventory_quantity":672,"sku":"101835290025","barcode":"","position":25,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7500d29ee428387b63215fd5471b6905.jpeg","path":"7500d29ee428387b63215fd5471b6905.jpeg","width":800,"height":800,"alt":"Treat Her Right Printed Men's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":14.98,"min_quantity":1}],"weight":"284.5","compare_at_price":"21.48","price":"14.98","retail_price":"21.48","available":true,"url":"\/products\/treat-her-right-printed-mens-t-shirt?variant=b17611af-bc1f-4ac9-87fe-f666a1f10022","available_quantity":672,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":1941};
return `
`
}()}