${function() {
const variantData = data.variant || {"id":"abc4c7ba-5a07-4a94-a082-7ec885e0d88c","product_id":"61a47f0f-deb0-4fd9-8447-8973c67ccf04","title":"gray-one size","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693057188035","barcode":"","position":1,"option1":"gray","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5ec9e1aedc0018340d44bf8dfe7cd916.jpeg","path":"5ec9e1aedc0018340d44bf8dfe7cd916.jpeg","width":800,"height":800,"alt":"Hollow Mesh Middle Tube Transparent Socks Women's Retro Lace Socks","aspect_ratio":1},"wholesale_price":[{"price":7.89,"min_quantity":1}],"weight":"0","compare_at_price":"7.89","price":"7.89","retail_price":"7.89","available":true,"url":"\/products\/hollow-mesh-middle-tube-transparent-socks-womens-retro-lace-socks-4400?variant=abc4c7ba-5a07-4a94-a082-7ec885e0d88c","available_quantity":1000,"options":[{"name":"Color","value":"gray"},{"name":"Size","value":"one size"}],"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}
`
}()}
${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":"abc4c7ba-5a07-4a94-a082-7ec885e0d88c","product_id":"61a47f0f-deb0-4fd9-8447-8973c67ccf04","title":"gray-one size","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693057188035","barcode":"","position":1,"option1":"gray","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5ec9e1aedc0018340d44bf8dfe7cd916.jpeg","path":"5ec9e1aedc0018340d44bf8dfe7cd916.jpeg","width":800,"height":800,"alt":"Hollow Mesh Middle Tube Transparent Socks Women's Retro Lace Socks","aspect_ratio":1},"wholesale_price":[{"price":7.89,"min_quantity":1}],"weight":"0","compare_at_price":"7.89","price":"7.89","retail_price":"7.89","available":true,"url":"\/products\/hollow-mesh-middle-tube-transparent-socks-womens-retro-lace-socks-4400?variant=abc4c7ba-5a07-4a94-a082-7ec885e0d88c","available_quantity":1000,"options":[{"name":"Color","value":"gray"},{"name":"Size","value":"one size"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}