${function() {
const variantData = data.variant || {"id":"7c5ff88b-61d8-4fbc-a101-e68fb0ac2487","product_id":"a2022398-bb79-493a-aa7f-8ef308fb48b6","title":"Grey-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WSS263549-GRY00S","barcode":"","position":13,"option1":"Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b98964c06b5ef5b5fc8dbb879aef0697.jpeg","path":"b98964c06b5ef5b5fc8dbb879aef0697.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"36.99","price":"24.99","retail_price":"36.99","available":true,"url":"\/products\/womens-christmas-dogs-print-sweatshirt?variant=7c5ff88b-61d8-4fbc-a101-e68fb0ac2487","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"S"}],"off_ratio":32,"flashsale_info":[],"sales":1};
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.