${function() {
const variantData = data.variant || {"id":"fc37ae4d-60d7-46b3-91a9-29bb07d6b21c","product_id":"bc642c76-ff0c-4619-9a1d-f8ec1393c65c","title":"Khaki-S","weight_unit":"kg","inventory_quantity":998,"sku":"ALMPA21073100010Z-Khaki-S","barcode":"","position":1,"option1":"Khaki","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e0e571c4b4d29b6bb90b03b1b4503ef7.jpeg","path":"e0e571c4b4d29b6bb90b03b1b4503ef7.jpeg","width":750,"height":1000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":25.54,"min_quantity":1}],"weight":"0","compare_at_price":"25.54","price":"25.54","retail_price":"25.54","available":true,"url":"\/products\/mens-solid-linen-shift-pants?variant=fc37ae4d-60d7-46b3-91a9-29bb07d6b21c","available_quantity":998,"options":[{"name":"Color","value":"Khaki"},{"name":"Size","value":"S"}],"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.