${function() {
const variantData = data.variant || {"id":"e1d15ee0-9396-4563-bc8f-a3eb00674099","product_id":"0e460060-6e68-4304-9869-e0a44fd278b0","title":"Black-S","weight_unit":"kg","inventory_quantity":0,"sku":"2211041419-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d1b33097ca7967c97639bfe15f36a5da.jpeg","path":"d1b33097ca7967c97639bfe15f36a5da.jpeg","width":1000,"height":1300,"alt":"As It Was Harry's House Tour Black Sweatshirt","aspect_ratio":0.7692307692307693},"wholesale_price":[{"price":32.03,"min_quantity":1}],"weight":"0","compare_at_price":"35.73","price":"32.03","retail_price":"35.73","available":true,"url":"\/products\/as-it-was-harrys-house-tour-black-sweatshirt?variant=e1d15ee0-9396-4563-bc8f-a3eb00674099","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":10,"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.