${function() {
const variantData = data.variant || {"id":"2200e4b7-c295-47f9-81db-f7c8787264f1","product_id":"e47fe976-8db6-4591-a012-f691065f7aba","title":"Green-ONE SIZE","weight_unit":"kg","inventory_quantity":999,"sku":"20110946-green-onesize","barcode":"","position":1,"option1":"Green","option2":"ONE SIZE","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/73944bb09e8983674cd49263aac69387.jpeg","path":"73944bb09e8983674cd49263aac69387.jpeg","width":1100,"height":1500,"alt":"Christmas Gift Decoration Socks","aspect_ratio":0.7333333333333333},"wholesale_price":[{"price":8.79,"min_quantity":1}],"weight":"0","compare_at_price":"15.7","price":"8.79","retail_price":"15.7","available":true,"url":"\/products\/christmas-gift-decoration-socks?variant=2200e4b7-c295-47f9-81db-f7c8787264f1","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"ONE SIZE"}],"off_ratio":44,"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.