${function() {
const variantData = data.variant || {"id":"6ed6ca20-2b7f-48ff-b955-32944ce0e2d3","product_id":"6306b9ce-ef8b-4952-826f-c8af9077bcd3","title":"Grey-S","weight_unit":"kg","inventory_quantity":0,"sku":"2301143393-Grey-S","barcode":"","position":13,"option1":"Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/877c66c7423109eb6caa3dce75e33c8b.png","path":"877c66c7423109eb6caa3dce75e33c8b.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=6ed6ca20-2b7f-48ff-b955-32944ce0e2d3","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"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.