${function() {
const variantData = data.variant || {"id":"d7182e0d-c158-4e42-bb7c-8c04c76fd1bf","product_id":"4f3e3eb7-00e0-41e0-8cd7-7c5daabc6468","title":"Green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WKD265396-GRN00S","barcode":"","position":9,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ab0147099a0fa9c5d03182d0d1cc0e00.jpeg","path":"ab0147099a0fa9c5d03182d0d1cc0e00.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=d7182e0d-c158-4e42-bb7c-8c04c76fd1bf","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"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.