${function() {
const variantData = data.variant || {"id":"e444a72a-ed84-4178-83c4-4d555e6e49a2","product_id":"7cbbbb4f-d69c-4d9d-a327-02bd76ebef0d","title":"Black-S","weight_unit":"g","inventory_quantity":797,"sku":"101502100001","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/25b8898237c7d93f4a69c0e6386a07cd.jpg","path":"25b8898237c7d93f4a69c0e6386a07cd.jpg","width":800,"height":800,"alt":"It Is What It Is Men's Fun Monogram T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":16.98,"min_quantity":1}],"weight":"250","compare_at_price":"19.98","price":"16.98","retail_price":"19.98","available":true,"url":"\/products\/it-is-what-it-is-mens-fun-monogram-t-shirt?variant=e444a72a-ed84-4178-83c4-4d555e6e49a2","available_quantity":797,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":15,"flashsale_info":[],"sales":542};
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":"e444a72a-ed84-4178-83c4-4d555e6e49a2","product_id":"7cbbbb4f-d69c-4d9d-a327-02bd76ebef0d","title":"Black-S","weight_unit":"g","inventory_quantity":797,"sku":"101502100001","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/25b8898237c7d93f4a69c0e6386a07cd.jpg","path":"25b8898237c7d93f4a69c0e6386a07cd.jpg","width":800,"height":800,"alt":"It Is What It Is Men's Fun Monogram T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":16.98,"min_quantity":1}],"weight":"250","compare_at_price":"19.98","price":"16.98","retail_price":"19.98","available":true,"url":"\/products\/it-is-what-it-is-mens-fun-monogram-t-shirt?variant=e444a72a-ed84-4178-83c4-4d555e6e49a2","available_quantity":797,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":15,"flashsale_info":[],"sales":542};
return `
`
}()}