${function() {
const variantData = data.variant || {"id":"3b037b42-90d2-4d8b-ab18-73af63588283","product_id":"78400ef7-c5a8-4197-b26b-dfb1bf097cc5","title":"black-S","weight_unit":"kg","inventory_quantity":0,"sku":"66230309399-black-S","barcode":"","position":9,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2adcff574a3616c5f154a69073c445b1.jpeg","path":"2adcff574a3616c5f154a69073c445b1.jpeg","width":750,"height":750,"alt":"Long Sleeve Loose Cotton Shirt","aspect_ratio":1},"wholesale_price":[{"price":36.79,"min_quantity":1}],"weight":"0.6","compare_at_price":"45","price":"36.79","retail_price":"45","available":true,"url":"\/products\/long-sleeve-loose-cotton-shirt?variant=3b037b42-90d2-4d8b-ab18-73af63588283","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"S"}],"off_ratio":18,"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.