${function() {
const variantData = data.variant || {"id":"52d8e9b5-1c81-44a8-8a85-ea98fa039db3","product_id":"e1864770-b3d1-46b8-8f15-f66c267ee99e","title":"Gray-S","weight_unit":"lb","inventory_quantity":0,"sku":"20102405-gray-s","barcode":"","position":1,"option1":"Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e0b4507342355620e45973f708d56386.jpeg","path":"e0b4507342355620e45973f708d56386.jpeg","width":800,"height":1000,"alt":"Chic Cloak Design Coat","aspect_ratio":0.8},"wholesale_price":[{"price":45.48,"min_quantity":1}],"weight":"0","compare_at_price":"50","price":"45.48","retail_price":"50","available":true,"url":"\/products\/chic-cloak-design-coat-7d61?variant=52d8e9b5-1c81-44a8-8a85-ea98fa039db3","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"S"}],"off_ratio":9,"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.