${function() {
const variantData = data.variant || {"id":"58651786-100a-43d0-b287-6654f5c4c918","product_id":"fb6cbf9a-a99c-41a1-9ee5-7bb2e4a6dd85","title":"coffee-L","weight_unit":"kg","inventory_quantity":0,"sku":"66210924950-coffee-L","barcode":"","position":6,"option1":"coffee","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/45ab0fa6c942e6c035c1ae2daf5db58a.jpeg","path":"45ab0fa6c942e6c035c1ae2daf5db58a.jpeg","width":800,"height":800,"alt":"Casual Fashion Long Three-Piece Set","aspect_ratio":1},"wholesale_price":[{"price":56.99,"min_quantity":1}],"weight":"0","compare_at_price":"80","price":"56.99","retail_price":"80","available":true,"url":"\/products\/casual-fashion-long-three-piece-suit?variant=58651786-100a-43d0-b287-6654f5c4c918","available_quantity":999999999,"options":[{"name":"color","value":"coffee"},{"name":"size","value":"L"}],"off_ratio":29,"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.