${function() {
const variantData = data.variant || {"id":"b0f776ec-c93a-4649-b3f4-062a9b28bdaf","product_id":"9ad0ab5f-998a-4d9d-aff5-8be35072356c","title":"Colorful-S","weight_unit":"kg","inventory_quantity":1000,"sku":"086-221212-10-MT0050UZFS-Colorful-S","barcode":"","position":1,"option1":"Colorful","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a2ca143d44fb01a45a311f00fe7c3027.jpeg","path":"a2ca143d44fb01a45a311f00fe7c3027.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0.25","compare_at_price":"25.99","price":"25.99","retail_price":"25.99","available":true,"url":"\/products\/mens-color-stripes-print-casual-short-sleeve-shirt?variant=b0f776ec-c93a-4649-b3f4-062a9b28bdaf","available_quantity":999999999,"options":[{"name":"Color","value":"Colorful"},{"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.