${function() {
const variantData = data.variant || {"id":"2a377117-b0f2-42ee-a867-a7a96404fdd6","product_id":"8ba2895c-ea9a-45ba-a313-7355750ba497","title":"Colorful-S","weight_unit":"kg","inventory_quantity":1000,"sku":"103A-240513-13-MS0006CGF7-Colorful-S","barcode":"","position":1,"option1":"Colorful","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/08d324cf5b0c37b339f562915bd2eacd.jpeg","path":"08d324cf5b0c37b339f562915bd2eacd.jpeg","width":850,"height":1134,"alt":"","aspect_ratio":0.7495590828924162},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"25.99","price":"25.99","retail_price":"25.99","available":true,"url":"\/products\/mens-rainbow-lgbt-bear-tribe-plaid-gay-polo-shirt?variant=2a377117-b0f2-42ee-a867-a7a96404fdd6","available_quantity":999999999,"options":[{"name":"Color","value":"Colorful"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":1};
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.