${function() {
const variantData = data.variant || {"id":"55999e16-e808-43ca-8c90-6ba3ffdff4b4","product_id":"cbdf2050-c5f3-4563-bf5f-ab90b6e3a7a6","title":"Green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"BLG340525-GRN00S","barcode":"","position":13,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ed60ba1b9828c2ea9f0b9b8184ce6cef.jpeg","path":"ed60ba1b9828c2ea9f0b9b8184ce6cef.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"30.38","price":"19.99","retail_price":"30.38","available":true,"url":"\/products\/womens-you-belong-print-lgbt-t-shirt?variant=55999e16-e808-43ca-8c90-6ba3ffdff4b4","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":34,"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.