${function() {
const variantData = data.variant || {"id":"604a5ca1-4689-40ce-8ac0-6bfe48b8d68b","product_id":"cf2f24b5-e25b-4b05-93bc-703c4cb82e8a","title":"green-2XL","weight_unit":"kg","inventory_quantity":0,"sku":"662206201758-green-2XL","barcode":"","position":4,"option1":"green","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5049f7d3d6d6fc510586d1f88d29e2ef.png","path":"5049f7d3d6d6fc510586d1f88d29e2ef.png","width":548,"height":658,"alt":"Stylish Button Suspender Jumpsuit","aspect_ratio":0.8328267477203647},"wholesale_price":[{"price":34.72,"min_quantity":1}],"weight":"0","compare_at_price":"53","price":"34.72","retail_price":"53","available":true,"url":"\/products\/stylish-button-suspender-jumpsuit?variant=604a5ca1-4689-40ce-8ac0-6bfe48b8d68b","available_quantity":999999999,"options":[{"name":"color","value":"green"},{"name":"size","value":"2XL"}],"off_ratio":34,"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.