${function() {
const variantData = data.variant || {"id":"d53299eb-c16d-41b4-8b36-a4e07f03eef1","product_id":"3efe05a9-f9bb-435b-8d45-7b0a01fa62f7","title":"White-2XL","weight_unit":"kg","inventory_quantity":0,"sku":"772109251012-White-2XL","barcode":"","position":11,"option1":"White","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2a1c6973255d3c8571a783203a782475.jpeg","path":"2a1c6973255d3c8571a783203a782475.jpeg","width":800,"height":800,"alt":"Fashion Butterfly Print Hooded Casual Sweatshirt Set","aspect_ratio":1},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0.7","compare_at_price":"85.11","price":"25.99","retail_price":"85.11","available":true,"url":"\/products\/fashion-butterfly-print-hooded-casual-sweatshirt-set?variant=d53299eb-c16d-41b4-8b36-a4e07f03eef1","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"2XL"}],"off_ratio":69,"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.