${function() {
const variantData = data.variant || {"id":"d2b6df4f-c801-455e-bea7-4bad520b13a7","product_id":"3315ca55-9896-4805-af7c-cfe1d98084b6","title":"red-s","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21031907-red-s","barcode":"","position":2,"option1":"red","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9363ae49907a4604c182b8d51eb016ce.jpeg","path":"9363ae49907a4604c182b8d51eb016ce.jpeg","width":750,"height":1000,"alt":"Pure Color Cotton Strap Jumpsuit","aspect_ratio":0.75},"wholesale_price":[{"price":33.31,"min_quantity":1}],"weight":"0","compare_at_price":"60.56","price":"33.31","retail_price":"60.56","available":true,"url":"\/products\/pure-color-cotton-strap-jumpsuit?variant=d2b6df4f-c801-455e-bea7-4bad520b13a7","available_quantity":999999999,"options":[{"name":"color","value":"red"},{"name":"size","value":"s"}],"off_ratio":45,"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.