${function() {
const variantData = data.variant || {"id":"6d959e78-6062-4908-8b67-34a3b1884a0c","product_id":"15729c4f-f682-4d6d-ae11-e7efbe118b7b","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"QZKDWyEPBx-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/75aa1c898e4bd23eef751c367df7ea83.jpeg","path":"75aa1c898e4bd23eef751c367df7ea83.jpeg","width":800,"height":1066,"alt":"","aspect_ratio":0.7504690431519699},"wholesale_price":[{"price":18.99,"min_quantity":1}],"weight":"0","compare_at_price":"18.99","price":"18.99","retail_price":"18.99","available":true,"url":"\/products\/i-hate-people-outdoor-t-shirt?variant=6d959e78-6062-4908-8b67-34a3b1884a0c","available_quantity":1000,"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.