${function() {
const variantData = data.variant || {"id":"3f0aad22-c71e-4505-a2b2-0d539ea0d75e","product_id":"80863e1b-d216-497a-a5d0-7ad3fa29829f","title":"black-one size","weight_unit":"kg","inventory_quantity":0,"sku":"662211171828-black-one size","barcode":"","position":1,"option1":"black","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/927db7fece20f2b320faf5f401a2cacc.jpeg","path":"927db7fece20f2b320faf5f401a2cacc.jpeg","width":800,"height":1000,"alt":"Design sense loose bat shirt vest coat","aspect_ratio":0.8},"wholesale_price":[{"price":57.62,"min_quantity":1}],"weight":"0.8","compare_at_price":"101.09","price":"57.62","retail_price":"101.09","available":true,"url":"\/products\/design-sense-loose-bat-shirt-vest-coat?variant=3f0aad22-c71e-4505-a2b2-0d539ea0d75e","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"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.