${function() {
const variantData = data.variant || {"id":"3ad378c7-3f46-4462-bb58-53bbe5bbcc7e","product_id":"aa1b13df-9d4a-42c2-b0aa-0e9fb5f12c95","title":"Blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WSS266743-BLU00S","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/898ae81e049e896b192656582d22e69a.jpeg","path":"898ae81e049e896b192656582d22e69a.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0","compare_at_price":"37.99","price":"26.99","retail_price":"37.99","available":true,"url":"\/products\/womens-dog-love-dog-lover-printed-hooded-sweatshirt?variant=3ad378c7-3f46-4462-bb58-53bbe5bbcc7e","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":29,"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.