${function() {
const variantData = data.variant || {"id":"46d7d800-0fd4-41eb-b9f2-1ef13d6415a1","product_id":"7b400dbe-7a37-44bb-a416-d5b89bd441d5","title":"Coloorful-S","weight_unit":"kg","inventory_quantity":1000,"sku":"103A-240428-A23-MS0002HC8U-Coloorful-S","barcode":"","position":1,"option1":"Coloorful","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/60ab2b5ad2298463c834adb90436de2e.jpeg","path":"60ab2b5ad2298463c834adb90436de2e.jpeg","width":1701,"height":2268,"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-cotton-linen-shirt-gay-flag-gradient-bear-claw-art-print-short-sleeve-shirt?variant=46d7d800-0fd4-41eb-b9f2-1ef13d6415a1","available_quantity":999999999,"options":[{"name":"Color","value":"Coloorful"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":6};
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.