${function() {
const variantData = data.variant || {"id":"0aafdc76-8b81-4e8b-8a48-45b3ce7773f2","product_id":"eee862ec-f73e-4dd4-87c3-5bc1f6dea9ab","title":"Pink-L","weight_unit":"kg","inventory_quantity":1000,"sku":"220514436-Pink-L","barcode":"","position":9,"option1":"Pink","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/990d5837585d03c4dcb79f6d099a5364.jpeg","path":"990d5837585d03c4dcb79f6d099a5364.jpeg","width":1021,"height":955,"alt":"Long Sleeves Candy Color Fashion Suit","aspect_ratio":1.0691099476439792},"wholesale_price":[{"price":39.43,"min_quantity":1}],"weight":"0","compare_at_price":"68.89","price":"39.43","retail_price":"68.89","available":true,"url":"\/products\/long-sleeves-candy-color-fashion-suit?variant=0aafdc76-8b81-4e8b-8a48-45b3ce7773f2","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"name":"SIZE","value":"L"}],"off_ratio":43,"flashsale_info":[],"sales":0};
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.