${function() {
const variantData = data.variant || {"id":"81888b9a-c4f4-4a9e-b79b-701348166943","product_id":"ff5e3c6b-f886-4f32-8baa-d6b59fbe495f","title":"Colorful-S","weight_unit":"kg","inventory_quantity":989,"sku":"086-230328-04-MS0006EKDA-Colorful-S","barcode":"","position":1,"option1":"Colorful","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5c8c44f7c4bf2368807d7de0b21b17d7.jpeg","path":"5c8c44f7c4bf2368807d7de0b21b17d7.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"24.99","price":"24.99","retail_price":"24.99","available":true,"url":"\/products\/mens-rainbow-stripe-art-print-polo-shirt-1?variant=81888b9a-c4f4-4a9e-b79b-701348166943","available_quantity":999999999,"options":[{"name":"Color","value":"Colorful"},{"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.