${function() {
const variantData = data.variant || {"id":"77242f39-3c4b-4f25-8655-521d25980540","product_id":"d4156d02-4ed0-4b99-991b-064febeeae12","title":"White-L","weight_unit":"kg","inventory_quantity":0,"sku":"77210923896-White -L","barcode":"","position":7,"option1":"White","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4e42af6cbcb48a2e8f2b21a57d255e66.jpeg","path":"4e42af6cbcb48a2e8f2b21a57d255e66.jpeg","width":800,"height":800,"alt":"Casual Solid Color Long Sleeve Sweatshirt Two-piece","aspect_ratio":1},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0.51","compare_at_price":"52.18","price":"25.99","retail_price":"52.18","available":true,"url":"\/products\/casual-solid-color-long-sleeve-sweatshirt-two-piece?variant=77242f39-3c4b-4f25-8655-521d25980540","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"L"}],"off_ratio":50,"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.