${function() {
const variantData = data.variant || {"id":"d93f14c7-9fb9-4e7c-b2e7-2b0a9708c1a6","product_id":"a718def3-7489-48aa-95f0-4ed0354fa499","title":"Multicolor-S","weight_unit":"kg","inventory_quantity":1000,"sku":"131-231103-04-MT0098R7M7-Multicolor-S","barcode":"","position":1,"option1":"Multicolor","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/22efa66bd39959c5e5c076b489790a11.png","path":"22efa66bd39959c5e5c076b489790a11.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\/christmas-cute-santa-flowers-decorations-art-pattern-print-casual-sweatshirt?variant=d93f14c7-9fb9-4e7c-b2e7-2b0a9708c1a6","available_quantity":999999999,"options":[{"name":"Color","value":"Multicolor"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":5};
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.