${function() {
const variantData = data.variant || {"id":"ecbccaa5-8570-43ed-98d9-07acf685702c","product_id":"e7d5c842-c297-428f-9e23-86120f050f05","title":"gray-S","weight_unit":"kg","inventory_quantity":1000,"sku":"132-230825-10-WT0003TCYJ-gray-S","barcode":"","position":7,"option1":"gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cc8d745ab8b16c3a62b08f4dee81fa8b.jpeg","path":"cc8d745ab8b16c3a62b08f4dee81fa8b.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":18.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"18.99","price":"18.99","retail_price":"18.99","available":true,"url":"\/products\/maui-strong-casual-t-shirt-o3p0?variant=ecbccaa5-8570-43ed-98d9-07acf685702c","available_quantity":999999999,"options":[{"name":"Color","value":"gray"},{"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.