${function() {
const variantData = data.variant || {"id":"8dfd05f9-ab35-4fe0-878c-c4028f7b48be","product_id":"ad849c81-d406-4474-b50a-6cfc10e61edd","title":"Black-S","weight_unit":"kg","inventory_quantity":999,"sku":"MS021364-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8d61ca39b6a824a2e1c73441cfbbe4ba.jpeg","path":"8d61ca39b6a824a2e1c73441cfbbe4ba.jpeg","width":1200,"height":1600,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0","compare_at_price":"26.99","price":"26.99","retail_price":"26.99","available":true,"url":"\/products\/mens-colorful-striped-gradient-simple-print-short-sleeve-shirt?variant=8dfd05f9-ab35-4fe0-878c-c4028f7b48be","available_quantity":999,"options":[{"name":"Color","value":"Black"},{"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.