${function() {
const variantData = data.variant || {"id":"8371cc98-f2d8-4862-ac89-ea2fc8b91f72","product_id":"4888b9cc-2f4e-456f-8fcc-d750b93db59a","title":"MULTICOLOR-S","weight_unit":"kg","inventory_quantity":998,"sku":"ICJ092530C01-S","barcode":"","position":1,"option1":"MULTICOLOR","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b878962977c1ec442b12d77d21d7d6cd.jpeg","path":"b878962977c1ec442b12d77d21d7d6cd.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"19.99","retail_price":"0","available":true,"url":"\/products\/vintage-mushrooms-art-print-casual-t-shirt?variant=8371cc98-f2d8-4862-ac89-ea2fc8b91f72","available_quantity":999999999,"options":[{"name":"COLOR","value":"MULTICOLOR"},{"name":"SIZE","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":11};
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.