${function() {
const variantData = data.variant || {"id":"df42691d-95b8-4f1a-9988-a2e43782d993","product_id":"6b439f18-8c0d-44ac-baaa-f4006bf2f8f2","title":"Black-5XL","weight_unit":"g","inventory_quantity":894,"sku":"101956960001","barcode":"","position":1,"option1":"Black","option2":"5XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8cfe42d68ebd2d4f525931f370c67b37.jpeg","path":"8cfe42d68ebd2d4f525931f370c67b37.jpeg","width":2000,"height":2000,"alt":"Stay High Print Men's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":14.98,"min_quantity":1}],"weight":"250","compare_at_price":"22.98","price":"14.98","retail_price":"22.98","available":true,"url":"\/products\/stay-high-print-mens-t-shirt?variant=df42691d-95b8-4f1a-9988-a2e43782d993","available_quantity":894,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"5XL"}],"off_ratio":35,"flashsale_info":[],"sales":25};
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":"df42691d-95b8-4f1a-9988-a2e43782d993","product_id":"6b439f18-8c0d-44ac-baaa-f4006bf2f8f2","title":"Black-5XL","weight_unit":"g","inventory_quantity":894,"sku":"101956960001","barcode":"","position":1,"option1":"Black","option2":"5XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8cfe42d68ebd2d4f525931f370c67b37.jpeg","path":"8cfe42d68ebd2d4f525931f370c67b37.jpeg","width":2000,"height":2000,"alt":"Stay High Print Men's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":14.98,"min_quantity":1}],"weight":"250","compare_at_price":"22.98","price":"14.98","retail_price":"22.98","available":true,"url":"\/products\/stay-high-print-mens-t-shirt?variant=df42691d-95b8-4f1a-9988-a2e43782d993","available_quantity":894,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"5XL"}],"off_ratio":35,"flashsale_info":[],"sales":25};
return `
`
}()}