${function() {
const variantData = data.variant || {"id":"00e2f4f7-18f8-4910-b627-a27699448cb2","product_id":"f995123c-6d56-4c7d-9314-8bc18def1f6f","title":"5","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693057198043","barcode":"","position":2,"option1":"5","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/383e9aadf7caf17346899c9b675f1464.jpeg","path":"383e9aadf7caf17346899c9b675f1464.jpeg","width":640,"height":640,"alt":"Three Striped Overknee Socks Sports Football Socks","aspect_ratio":1},"wholesale_price":[{"price":6.25,"min_quantity":1}],"weight":"0","compare_at_price":"6.25","price":"6.25","retail_price":"6.25","available":true,"url":"\/products\/three-striped-overknee-socks-sports-football-socks-5185?variant=00e2f4f7-18f8-4910-b627-a27699448cb2","available_quantity":1000,"options":[{"name":"Color","value":"5"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
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.
${function(){
const variantData = data.variant || {"id":"00e2f4f7-18f8-4910-b627-a27699448cb2","product_id":"f995123c-6d56-4c7d-9314-8bc18def1f6f","title":"5","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693057198043","barcode":"","position":2,"option1":"5","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/383e9aadf7caf17346899c9b675f1464.jpeg","path":"383e9aadf7caf17346899c9b675f1464.jpeg","width":640,"height":640,"alt":"Three Striped Overknee Socks Sports Football Socks","aspect_ratio":1},"wholesale_price":[{"price":6.25,"min_quantity":1}],"weight":"0","compare_at_price":"6.25","price":"6.25","retail_price":"6.25","available":true,"url":"\/products\/three-striped-overknee-socks-sports-football-socks-5185?variant=00e2f4f7-18f8-4910-b627-a27699448cb2","available_quantity":1000,"options":[{"name":"Color","value":"5"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}