${function() {
const variantData = data.variant || {"id":"02f3377d-12c9-4107-b87d-088223a52a14","product_id":"07dfdf34-481b-4da8-ba04-19f63e2855b4","title":"apricot-S","weight_unit":"kg","inventory_quantity":1000,"sku":"x099-240412-23-M9K9WQGTRW-apricot-S","barcode":"","position":6,"option1":"apricot","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/efaf59e4f89811458e56fa334bedb6ed.jpeg","path":"efaf59e4f89811458e56fa334bedb6ed.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"300","compare_at_price":"29.99","price":"29.99","retail_price":"29.99","available":true,"url":"\/products\/mens-casual-cotton-and-linen-strappy-pocket-solid-color-hooded-long-sleeved-t-shirt?variant=02f3377d-12c9-4107-b87d-088223a52a14","available_quantity":999999999,"options":[{"name":"Color","value":"apricot"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
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.