${function() {
const variantData = data.variant || {"id":"f31d997b-4162-443d-8ba1-2fb2a92460d3","product_id":"bed6a06c-117f-42b6-9adb-437534751b83","title":"Multicolor-S","weight_unit":"kg","inventory_quantity":999,"sku":"086-230919-07-WT0223JSAC-Multicolor-S","barcode":"","position":1,"option1":"Multicolor","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/20e5ce5dabd6f85ddd4447328771d068.jpeg","path":"20e5ce5dabd6f85ddd4447328771d068.jpeg","width":850,"height":1134,"alt":"","aspect_ratio":0.7495590828924162},"wholesale_price":[{"price":37.99,"min_quantity":1}],"weight":"0.6","compare_at_price":"37.99","price":"37.99","retail_price":"37.99","available":true,"url":"\/products\/mens-rainbow-geometry-print-buttoned-cardigan-sweater?variant=f31d997b-4162-443d-8ba1-2fb2a92460d3","available_quantity":999999999,"options":[{"name":"Color","value":"Multicolor"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":3};
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.