${function() {
const variantData = data.variant || {"id":"4687ed44-939d-42a6-b17d-2e51bbfc776f","product_id":"3ce510d6-cc17-409d-99b3-99733a24132c","title":"Black stub barrel","weight_unit":"kg","inventory_quantity":50,"sku":"2211101571-Black stub barrel","barcode":"","position":1,"option1":"Black stub barrel","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ff93da1a24d9859b042bbb6a5107efee.jpeg","path":"ff93da1a24d9859b042bbb6a5107efee.jpeg","width":800,"height":800,"alt":"\"DO NOT DISTURB\" Fluorescent socks for men","aspect_ratio":1},"wholesale_price":[{"price":8.9,"min_quantity":1}],"weight":"0.05","compare_at_price":"10.72","price":"8.9","retail_price":"10.72","available":true,"url":"\/products\/do-not-disturb-fluorescent-socks-for-men?variant=4687ed44-939d-42a6-b17d-2e51bbfc776f","available_quantity":999999999,"options":[{"name":"Color","value":"Black stub barrel"}],"off_ratio":17,"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}
`
}()}
Product was out of stock.
Product is unavailable.