${function() {
const variantData = data.variant || {"id":"46d9bb96-4e8e-4434-9888-88faef7d9b8f","product_id":"c2b18ba1-1d1b-453e-8fdf-ad999305e98e","title":"red-S","weight_unit":"kg","inventory_quantity":0,"sku":"662210291004-red-S","barcode":"","position":1,"option1":"red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e27f10eb0a75bdd3753f41fc0198fad9.jpeg","path":"e27f10eb0a75bdd3753f41fc0198fad9.jpeg","width":1600,"height":1600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":31.59,"min_quantity":1}],"weight":"0.3","compare_at_price":"52.65","price":"31.59","retail_price":"52.65","available":true,"url":"\/products\/christmas-print-drop-shouldered-round-neck-hoodie?variant=46d9bb96-4e8e-4434-9888-88faef7d9b8f","available_quantity":999999999,"options":[{"name":"color","value":"red"},{"name":"size","value":"S"}],"off_ratio":40,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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.