${function() {
const variantData = data.variant || {"id":"87fc38e9-d368-4ce4-8a74-116f065447db","product_id":"44f6642e-79aa-4815-82db-88b696f31846","title":"Multicolor-S","weight_unit":"kg","inventory_quantity":1000,"sku":"099B-240612-03-MT0125YSBA-Multicolor-S","barcode":"","position":1,"option1":"Multicolor","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1eb820aa831a8d4b2e128fd5b6d8a5bd.jpeg","path":"1eb820aa831a8d4b2e128fd5b6d8a5bd.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":38.99,"min_quantity":1}],"weight":"0","compare_at_price":"38.99","price":"38.99","retail_price":"38.99","available":true,"url":"\/products\/creative-geometric-decorative-patterns-100-cotton-long-sleeve-shirt?variant=87fc38e9-d368-4ce4-8a74-116f065447db","available_quantity":999999999,"options":[{"name":"Color","value":"Multicolor"},{"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.