${function() {
const variantData = data.variant || {"id":"543f23c9-e805-4c14-ab94-164aeb7b0072","product_id":"cdbc48e0-6d58-44d8-b8b0-d5e7fdb0e56c","title":"Color-S","weight_unit":"kg","inventory_quantity":999,"sku":"086-230504-18-WB0013QC9V-Color-S","barcode":"","position":1,"option1":"Color","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3dcdeb671b4e3287e08086a16a7c882e.jpeg","path":"3dcdeb671b4e3287e08086a16a7c882e.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":28.99,"min_quantity":1}],"weight":"0.35","compare_at_price":"28.99","price":"28.99","retail_price":"28.99","available":true,"url":"\/products\/womens-rainbow-wide-leg-pants-2?variant=543f23c9-e805-4c14-ab94-164aeb7b0072","available_quantity":999999999,"options":[{"name":"Color","value":"Color"},{"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.