${function() {
const variantData = data.variant || {"id":"36aca6a8-4838-4445-95df-1998bab14a14","product_id":"0370f8c9-10bb-4330-b9a9-67528d44a60a","title":"Navy blue-M","weight_unit":"kg","inventory_quantity":1000,"sku":"YP24101135871-Navy blue-M","barcode":"","position":1,"option1":"Navy blue","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/618eea0f79069ab71dfc7fa8a55fd7ce.jpeg","path":"618eea0f79069ab71dfc7fa8a55fd7ce.jpeg","width":1142,"height":1428,"alt":"","aspect_ratio":0.7997198879551821},"wholesale_price":[{"price":55.95,"min_quantity":1}],"weight":"0","compare_at_price":"55.95","price":"55.95","retail_price":"55.95","available":true,"url":"\/products\/mens-simple-colorblock-round-neck-casual-sports-set-0197?variant=36aca6a8-4838-4445-95df-1998bab14a14","available_quantity":999999999,"options":[{"name":"Color","value":"Navy blue"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":1};
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.