${function() {
const variantData = data.variant || {"id":"6f084d51-7d64-4fa7-9713-7caf508ceddb","product_id":"e4c09540-95e9-48d2-8000-207809d888fa","title":"Black-S","weight_unit":"g","inventory_quantity":965,"sku":"101919300006","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/358522b67b35e7e72eb7d5f48b210a6b.jpeg","path":"358522b67b35e7e72eb7d5f48b210a6b.jpeg","width":2000,"height":2000,"alt":"Take A Breath Skull 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\/take-a-breath-skull-print-mens-vest?variant=6f084d51-7d64-4fa7-9713-7caf508ceddb","available_quantity":965,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":35,"flashsale_info":[],"sales":36};
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":"6f084d51-7d64-4fa7-9713-7caf508ceddb","product_id":"e4c09540-95e9-48d2-8000-207809d888fa","title":"Black-S","weight_unit":"g","inventory_quantity":965,"sku":"101919300006","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/358522b67b35e7e72eb7d5f48b210a6b.jpeg","path":"358522b67b35e7e72eb7d5f48b210a6b.jpeg","width":2000,"height":2000,"alt":"Take A Breath Skull 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\/take-a-breath-skull-print-mens-vest?variant=6f084d51-7d64-4fa7-9713-7caf508ceddb","available_quantity":965,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":35,"flashsale_info":[],"sales":36};
return `
`
}()}