${function() {
const variantData = data.variant || {"id":"6588a39d-901f-493e-a9b7-898ef6c81701","product_id":"2dd05ae6-d8a4-4237-9f8d-4b9d087f4d1b","title":"Light Grey-M","weight_unit":"kg","inventory_quantity":984,"sku":"SDV000536_LGR_M","barcode":"","position":1,"option1":"Light Grey","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/369dfd571e601a6d33ce024d45cf6d79.jpeg","path":"369dfd571e601a6d33ce024d45cf6d79.jpeg","width":750,"height":1000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":43.99,"min_quantity":1}],"weight":"0","compare_at_price":"43.99","price":"43.99","retail_price":"43.99","available":true,"url":"\/products\/coofandy-casual-loose-fit-solid-sports-sets?variant=6588a39d-901f-493e-a9b7-898ef6c81701","available_quantity":999999999,"options":[{"name":"Color","value":"Light Grey"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":143};
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.