${function() {
const variantData = data.variant || {"id":"834d6912-6f1f-455f-b373-62c6a12c467d","product_id":"e8e2896d-5f23-446e-9285-44b24337bbd0","title":"Color-S","weight_unit":"g","inventory_quantity":998,"sku":"111-230606-26-D2DEPWMHHC-Color-S","barcode":"","position":1,"option1":"Color","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fd38d2a981789092e77bdbe8b6509afd.jpeg","path":"fd38d2a981789092e77bdbe8b6509afd.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":34.99,"min_quantity":1}],"weight":"300","compare_at_price":"34.99","price":"34.99","retail_price":"34.99","available":true,"url":"\/products\/womens-rainbow-sleeveless-maxi-dress-1?variant=834d6912-6f1f-455f-b373-62c6a12c467d","available_quantity":999999999,"options":[{"name":"Color","value":"Color"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":1};
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.