${function() {
const variantData = data.variant || {"id":"3b99da88-d7e5-4230-948a-a947be8b5a31","product_id":"f79ed6f8-17c9-45e0-8152-65a0e150c608","title":"Blue-M","weight_unit":"g","inventory_quantity":500,"sku":"X86-221031-05-8HTT3QE5LN-Blue-M","barcode":"","position":5,"option1":"Blue","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/80d30af04f43220ef0b1ec08ff1932a8.jpeg","path":"80d30af04f43220ef0b1ec08ff1932a8.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":46,"min_quantity":1}],"weight":"0","compare_at_price":"46","price":"46","retail_price":"46","available":true,"url":"\/products\/womens-plush-thick-long-sleeved-coat-cardigan-1?variant=3b99da88-d7e5-4230-948a-a947be8b5a31","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":24};
const saveType = "amount";
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.