${function() {
const variantData = data.variant || {"id":"22c12226-0888-4659-8845-32ff47e7b8b1","product_id":"dcd3f0c6-fecc-4e77-aa30-940a804e76c5","title":"Black-S","weight_unit":"g","inventory_quantity":608,"sku":"101919410006","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9f155c12fcf3bec64799014b2760572a.jpeg","path":"9f155c12fcf3bec64799014b2760572a.jpeg","width":2000,"height":2000,"alt":"Thick Thighs Saves Lives 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\/thick-thighs-saves-lives-print-mens-vest?variant=22c12226-0888-4659-8845-32ff47e7b8b1","available_quantity":608,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":35,"flashsale_info":[],"sales":17};
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":"22c12226-0888-4659-8845-32ff47e7b8b1","product_id":"dcd3f0c6-fecc-4e77-aa30-940a804e76c5","title":"Black-S","weight_unit":"g","inventory_quantity":608,"sku":"101919410006","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9f155c12fcf3bec64799014b2760572a.jpeg","path":"9f155c12fcf3bec64799014b2760572a.jpeg","width":2000,"height":2000,"alt":"Thick Thighs Saves Lives 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\/thick-thighs-saves-lives-print-mens-vest?variant=22c12226-0888-4659-8845-32ff47e7b8b1","available_quantity":608,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":35,"flashsale_info":[],"sales":17};
return `
`
}()}