${function() {
const variantData = data.variant || {"id":"031c41bc-7fac-4b65-9052-ef7494b91b46","product_id":"66c204c6-a7d9-473f-b3a7-b8f6e87df315","title":"dark brown-L","weight_unit":"kg","inventory_quantity":0,"sku":"66210924948-dark brown-L","barcode":"","position":7,"option1":"dark brown","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/086bc7464042743a195c8c296dbe070c.jpeg","path":"086bc7464042743a195c8c296dbe070c.jpeg","width":750,"height":750,"alt":"New sports fashion casual suit","aspect_ratio":1},"wholesale_price":[{"price":38.72,"min_quantity":1}],"weight":"0","compare_at_price":"66.76","price":"38.72","retail_price":"66.76","available":true,"url":"\/products\/new-sports-fashion-casual-suit?variant=031c41bc-7fac-4b65-9052-ef7494b91b46","available_quantity":999999999,"options":[{"name":"color","value":"dark brown"},{"name":"size","value":"L"}],"off_ratio":42,"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.