${function() {
const variantData = data.variant || {"id":"7a28a12f-157d-4d37-91b8-13aaf1291d25","product_id":"e5313e22-b448-445d-8d8a-69bd4b1354f5","title":"white-S","weight_unit":"kg","inventory_quantity":0,"sku":"66230310421-white-S","barcode":"","position":11,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d00b46d5f6d73c3982674e2ba3da2f02.jpeg","path":"d00b46d5f6d73c3982674e2ba3da2f02.jpeg","width":800,"height":800,"alt":"Linen dropped shoulders lapel collar casual shirt","aspect_ratio":1},"wholesale_price":[{"price":34.89,"min_quantity":1}],"weight":"0.2","compare_at_price":"42","price":"34.89","retail_price":"42","available":true,"url":"\/products\/linen-dropped-shoulders-lapel-collar-casual-shirt?variant=7a28a12f-157d-4d37-91b8-13aaf1291d25","available_quantity":999999999,"options":[{"name":"color","value":"white"},{"name":"size","value":"S"}],"off_ratio":17,"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.