${function() {
const variantData = data.variant || {"id":"f17babe3-26ee-4835-9897-80a205e96664","product_id":"0cbdeb8c-9b2c-472b-9f77-ccaf0c533d93","title":"apricot-one size","weight_unit":"kg","inventory_quantity":0,"sku":"662211211944-apricot-one size","barcode":"","position":1,"option1":"apricot","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7077c1a16477c88e8ecb00575b6d732a.jpeg","path":"7077c1a16477c88e8ecb00575b6d732a.jpeg","width":800,"height":800,"alt":"Women's thickened hooded woolen pocket coat","aspect_ratio":1},"wholesale_price":[{"price":59.78,"min_quantity":1}],"weight":"0.5","compare_at_price":"104.88","price":"59.78","retail_price":"104.88","available":true,"url":"\/products\/womens-thickened-hooded-woolen-pocket-coat?variant=f17babe3-26ee-4835-9897-80a205e96664","available_quantity":999999999,"options":[{"name":"color","value":"apricot"},{"name":"size","value":"one size"}],"off_ratio":43,"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.