${function() {
const variantData = data.variant || {"id":"8887ddc7-6c30-45bf-9706-13609a95bef4","product_id":"8fcc966c-2752-4a38-a13f-628713ae5b9a","title":"gray-S","weight_unit":"kg","inventory_quantity":0,"sku":"662212052349-gray-S","barcode":"","position":1,"option1":"gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b8db0a98cfab1ff264086396e7d10ad4.jpeg","path":"b8db0a98cfab1ff264086396e7d10ad4.jpeg","width":800,"height":800,"alt":"New fleece denim stitching winter lamb wool coat","aspect_ratio":1},"wholesale_price":[{"price":139,"min_quantity":1}],"weight":"1.2","compare_at_price":"299","price":"139","retail_price":"299","available":true,"url":"\/products\/new-fleece-denim-stitching-winter-lamb-wool-coat?variant=8887ddc7-6c30-45bf-9706-13609a95bef4","available_quantity":999999999,"options":[{"name":"color","value":"gray"},{"name":"size","value":"S"}],"off_ratio":54,"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.