${function() {
const variantData = data.variant || {"id":"bd15b766-7d05-4219-ad88-059e48d19e50","product_id":"4f3e3eb7-00e0-41e0-8cd7-7c5daabc6468","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"WKD265396-WHI00S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/548a6ea3286fddc1b153fe89419b465a.jpeg","path":"548a6ea3286fddc1b153fe89419b465a.jpeg","width":640,"height":853,"alt":"","aspect_ratio":0.7502930832356389},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"34.99","price":"25.99","retail_price":"34.99","available":true,"url":"\/products\/womens-christmas-dog-print-dress?variant=bd15b766-7d05-4219-ad88-059e48d19e50","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":26,"flashsale_info":[],"sales":7};
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.