${function() {
const variantData = data.variant || {"id":"fac14e90-12b8-4738-8669-88865330d799","product_id":"6306b9ce-ef8b-4952-826f-c8af9077bcd3","title":"Green-S","weight_unit":"kg","inventory_quantity":0,"sku":"2301143393-Green-S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a4706edebe347f4f33b51146cdf38d4b.png","path":"a4706edebe347f4f33b51146cdf38d4b.png","width":600,"height":600,"alt":"WHAT THE DUCK Prints Characteristic Sweatshirt","aspect_ratio":1},"wholesale_price":[{"price":26.45,"min_quantity":1}],"weight":"0.4","compare_at_price":"36","price":"26.45","retail_price":"36","available":true,"url":"\/products\/what-the-duck-prints-characteristic-sweatshirt?variant=fac14e90-12b8-4738-8669-88865330d799","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":27,"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.