${function() {
const variantData = data.variant || {"id":"4a9ffb64-8c52-4f5f-a0ed-846d6b46c6cf","product_id":"13f253e9-b709-4fed-9c28-5d599754038f","title":"light blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"x099-240412-04-KZ7Z3X3DRV-light blue-S","barcode":"","position":11,"option1":"light blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/15d4c11b51c1b0497667ff1a1efebb32.jpeg","path":"15d4c11b51c1b0497667ff1a1efebb32.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"300","compare_at_price":"25.99","price":"25.99","retail_price":"25.99","available":true,"url":"\/products\/mens-cotton-and-linen-lace-casual-wristband-pocket-casual-shirt?variant=4a9ffb64-8c52-4f5f-a0ed-846d6b46c6cf","available_quantity":999999999,"options":[{"name":"Color","value":"light blue"},{"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.