${function() {
const variantData = data.variant || {"id":"6af04dbb-eda6-458a-aff9-977d9a9201f6","product_id":"4f4879c7-34e9-458c-8686-a2ae05cf72ef","title":"white-onesize","weight_unit":"kg","inventory_quantity":0,"sku":"2092333-white-onesize","barcode":"","position":2,"option1":"white","option2":"onesize","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/efd3dc01af60b94f0ab532019d5997bf.jpeg","path":"efd3dc01af60b94f0ab532019d5997bf.jpeg","width":800,"height":800,"alt":"Solid Color Over-The-Knee Socks","aspect_ratio":1},"wholesale_price":[{"price":13.86,"min_quantity":1}],"weight":"0.12","compare_at_price":"25.15","price":"13.86","retail_price":"25.15","available":true,"url":"\/products\/solid-color-over-the-knee-socks-cvsq-lzt7?variant=6af04dbb-eda6-458a-aff9-977d9a9201f6","available_quantity":999999999,"options":[{"name":"color","value":"white"},{"name":"size","value":"onesize"}],"off_ratio":45,"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.