${function() {
const variantData = data.variant || {"id":"424b7d62-3b95-4fcb-8491-efa34109e7c6","product_id":"aaf2c94d-c830-47bf-bfd7-0848f6d220b7","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"SWH269780-BLA00S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/971ad50275b2e5fb460bff3740b96d3a.jpeg","path":"971ad50275b2e5fb460bff3740b96d3a.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0","compare_at_price":"36.99","price":"26.99","retail_price":"36.99","available":true,"url":"\/products\/womens-colorful-heart-dog-paw-print-hoodie-2?variant=424b7d62-3b95-4fcb-8491-efa34109e7c6","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":27,"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.