${function() {
const variantData = data.variant || {"id":"1d8a49e0-a8a6-4db3-8e58-f436f5050725","product_id":"873267a5-f045-4cd4-acc8-41f75e0f1d9a","title":"Black-S","weight_unit":"g","inventory_quantity":797,"sku":"101900410008","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/54b033c8d03b049f7536c4de41d08b13.jpeg","path":"54b033c8d03b049f7536c4de41d08b13.jpeg","width":2000,"height":2000,"alt":"I Love Hot Tattooed Moms Print Men's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":15.98,"min_quantity":1}],"weight":"250","compare_at_price":"22.98","price":"15.98","retail_price":"22.98","available":true,"url":"\/products\/i-love-hot-tattooed-moms-print-mens-t-shirt?variant=1d8a49e0-a8a6-4db3-8e58-f436f5050725","available_quantity":797,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":39};
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":"1d8a49e0-a8a6-4db3-8e58-f436f5050725","product_id":"873267a5-f045-4cd4-acc8-41f75e0f1d9a","title":"Black-S","weight_unit":"g","inventory_quantity":797,"sku":"101900410008","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/54b033c8d03b049f7536c4de41d08b13.jpeg","path":"54b033c8d03b049f7536c4de41d08b13.jpeg","width":2000,"height":2000,"alt":"I Love Hot Tattooed Moms Print Men's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":15.98,"min_quantity":1}],"weight":"250","compare_at_price":"22.98","price":"15.98","retail_price":"22.98","available":true,"url":"\/products\/i-love-hot-tattooed-moms-print-mens-t-shirt?variant=1d8a49e0-a8a6-4db3-8e58-f436f5050725","available_quantity":797,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":39};
return `
`
}()}