${function() {
const variantData = data.variant || {"id":"e9ecb512-d578-451c-b87e-0edb643b0f49","product_id":"14144e23-2675-40c1-a0af-b5b03f3774be","title":"Colorful-S","weight_unit":"kg","inventory_quantity":999,"sku":"WV070076-Colorful-S","barcode":"","position":1,"option1":"Colorful","option2":"S","option3":"","note":"","image":null,"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"29.99","price":"19.99","retail_price":"29.99","available":true,"url":"\/products\/womens-black-manmeid-t-shirt?variant=e9ecb512-d578-451c-b87e-0edb643b0f49","available_quantity":999999999,"options":[{"name":"color","value":"Colorful"},{"name":"size","value":"S"}],"off_ratio":33,"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.