${function() {
const variantData = data.variant || {"id":"d3ca1abf-cbf5-480e-9086-d57a55dc6b0b","product_id":"aebcaf2c-0686-47c7-b722-26f8db2c574f","title":"Black-White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"131-231103-A06-MT00954B3L-Black-White-S","barcode":"","position":1,"option1":"Black-White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/71ad35608278657c7daed16b637efbfe.png","path":"71ad35608278657c7daed16b637efbfe.png","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0.45","compare_at_price":"29.99","price":"29.99","retail_price":"29.99","available":true,"url":"\/products\/black-white-cats-art-pattern-print-casual-hoodie-sweatshirt?variant=d3ca1abf-cbf5-480e-9086-d57a55dc6b0b","available_quantity":999999999,"options":[{"name":"Color","value":"Black-White"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":2};
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.