${function() {
const variantData = data.variant || {"id":"1282485c-5b6e-4957-bf3a-fd755f5ff88b","product_id":"49c38210-eeeb-41df-8401-802e1c3cf19a","title":"Colorful-S","weight_unit":"kg","inventory_quantity":996,"sku":"103-230323-A12-MT0036TVCQ-Colorful-S","barcode":"","position":1,"option1":"Colorful","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b605d4a60a78fb701f59580fb1bc6374.jpeg","path":"b605d4a60a78fb701f59580fb1bc6374.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":18.99,"min_quantity":1}],"weight":"0.2","compare_at_price":"18.99","price":"18.99","retail_price":"18.99","available":true,"url":"\/products\/mens-gay-leather-daddy-bear-t-shirt-2?variant=1282485c-5b6e-4957-bf3a-fd755f5ff88b","available_quantity":999999999,"options":[{"name":"Color","value":"Colorful"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
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.