${function() {
const variantData = data.variant || {"id":"b1835a03-6e0f-4112-b0a2-c59095cf5fe3","product_id":"1e7c4b96-fa1f-47e0-b1ca-bdc4c76e6196","title":"multicolor-S","weight_unit":"kg","inventory_quantity":1000,"sku":"132-231117-19-DW006534Z5-multicolor-S","barcode":"","position":1,"option1":"multicolor","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b4e6a2ccbedf3bdc63d01d6f8a246f31.jpeg","path":"b4e6a2ccbedf3bdc63d01d6f8a246f31.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"29.99","price":"29.99","retail_price":"29.99","available":true,"url":"\/products\/womens-christmas-santa-print-casual-dress?variant=b1835a03-6e0f-4112-b0a2-c59095cf5fe3","available_quantity":999999999,"options":[{"name":"Color","value":"multicolor"},{"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.