${function() {
const variantData = data.variant || {"id":"203ebdb4-84c2-4052-8d81-7d0fa621baa9","product_id":"01fbe2bd-c1ea-4444-ab1a-a5836a7b2aba","title":"gray-S","weight_unit":"kg","inventory_quantity":0,"sku":"662212122514-gray-S","barcode":"","position":11,"option1":"gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2ae519874964cb60fafdf6ee9724bc50.jpeg","path":"2ae519874964cb60fafdf6ee9724bc50.jpeg","width":616,"height":910,"alt":"Women's Quilted Jacket Casual Stand Collar Button Coat","aspect_ratio":0.676923076923077},"wholesale_price":[{"price":56.79,"min_quantity":1}],"weight":"0.4","compare_at_price":"72","price":"56.79","retail_price":"72","available":true,"url":"\/products\/womens-quilted-jacket-casual-stand-collar-button-coat?variant=203ebdb4-84c2-4052-8d81-7d0fa621baa9","available_quantity":999999999,"options":[{"name":"color","value":"gray"},{"name":"size","value":"S"}],"off_ratio":21,"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.