${function() {
const variantData = data.variant || {"id":"de9490f2-4875-49a1-bb6b-9fa670fd3dcc","product_id":"72ebe16c-30bc-42a9-8dac-9989636e6f40","title":"Black-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL2308172960-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4807996074a252f005a167150cc6e03e.jpeg","path":"4807996074a252f005a167150cc6e03e.jpeg","width":800,"height":800,"alt":"Addams Family halloween Sweatshirt","aspect_ratio":1},"wholesale_price":[{"price":36.98,"min_quantity":1}],"weight":"0.35","compare_at_price":"50","price":"36.98","retail_price":"50","available":true,"url":"\/products\/addams-family-halloween-sweatshirt?variant=de9490f2-4875-49a1-bb6b-9fa670fd3dcc","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":26,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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.