${function() {
const variantData = data.variant || {"id":"ce66781e-d3b8-4139-a6f2-aaceb586e39d","product_id":"56324ad2-dccf-4811-b768-e103700ba6cc","title":"Blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WTS107084-BLU00S","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/015ce46e67f6ee585d7c8320522b651d.jpeg","path":"015ce46e67f6ee585d7c8320522b651d.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0","compare_at_price":"40","price":"23.99","retail_price":"40","available":true,"url":"\/products\/womens-colorful-dog-paw-heart-print-t-shirt-fs77?variant=ce66781e-d3b8-4139-a6f2-aaceb586e39d","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":40,"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.