${function() {
const variantData = data.variant || {"id":"4c63de66-a6f8-4908-819b-2f7b37b19fa5","product_id":"63c9b0e1-1cba-4567-ae53-31dd343e2995","title":"Black-S","weight_unit":"kg","inventory_quantity":998,"sku":"103-230529-A07-WT0003D7A7-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4cd2079f51241381af48befb389796d6.jpeg","path":"4cd2079f51241381af48befb389796d6.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":20.99,"min_quantity":1}],"weight":"0.2","compare_at_price":"20.99","price":"20.99","retail_price":"20.99","available":true,"url":"\/products\/womens-lgbt-rainbow-pride-casual-t-shirt?variant=4c63de66-a6f8-4908-819b-2f7b37b19fa5","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":8};
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.