${function() {
const variantData = data.variant || {"id":"b65f4683-25d1-4ab8-b53e-0d367e49a6b9","product_id":"d8159c22-5e7c-4c37-81d5-d2c73fb0cd09","title":"Army Green-One-size","weight_unit":"kg","inventory_quantity":0,"sku":"20101041-armygreen-onesize","barcode":"","position":1,"option1":"Army Green","option2":"One-size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/111e1683674a090572326b7f21b3bf17.png","path":"111e1683674a090572326b7f21b3bf17.png","width":800,"height":800,"alt":"Underwear & Socks","aspect_ratio":1},"wholesale_price":[{"price":4.93,"min_quantity":1}],"weight":"0.04","compare_at_price":"5.85","price":"4.93","retail_price":"5.85","available":true,"url":"\/products\/underwear-socks-qcem?variant=b65f4683-25d1-4ab8-b53e-0d367e49a6b9","available_quantity":999999999,"options":[{"name":"Color","value":"Army Green"},{"name":"Size","value":"One-size"}],"off_ratio":16,"flashsale_info":[],"sales":1};
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.