${function() {
const variantData = data.variant || {"id":"a879e7d6-8be9-425b-b838-d4f9156a6d36","product_id":"d07ac0f9-5f36-442e-844e-d29bc6f6c25f","title":"Blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"103-240305-13-MS0002Z7M4-Blue-S","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/37b4d5bfebc6d29ccd63f49306d94a6a.jpeg","path":"37b4d5bfebc6d29ccd63f49306d94a6a.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0","compare_at_price":"27.99","price":"27.99","retail_price":"27.99","available":true,"url":"\/products\/mens-retro-pirate-funny-mermaid-skull-art-print-short-sleeve-shirt?variant=a879e7d6-8be9-425b-b838-d4f9156a6d36","available_quantity":999999999,"options":[{"name":"Color","value":"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.