${function() {
const variantData = data.variant || {"id":"83e670ec-0f89-40cf-9575-d2cc5002055b","product_id":"fe60c9cb-6006-42bd-8cfd-dd82471929c7","title":"Colorful-S","weight_unit":"kg","inventory_quantity":998,"sku":"086-230407-08-MS0006T8RX-Colorful-S","barcode":"","position":1,"option1":"Colorful","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fdb08c9610266fb4454070d851b8f931.jpeg","path":"fdb08c9610266fb4454070d851b8f931.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"24.99","price":"24.99","retail_price":"24.99","available":true,"url":"\/products\/mens-rainbow-plaid-polo-shirt-11?variant=83e670ec-0f89-40cf-9575-d2cc5002055b","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.