${function() {
const variantData = data.variant || {"id":"5c1ca71e-6f26-4040-9b57-b78951c8f769","product_id":"ae524f8c-0f00-4658-8c49-e6307129f6c0","title":"Black-Free Size","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693057195578","barcode":"","position":1,"option1":"Black","option2":"Free Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4854f81e956f7d7f9a2f81022e1378fc.jpeg","path":"4854f81e956f7d7f9a2f81022e1378fc.jpeg","width":640,"height":640,"alt":"Cute Cotton Long High Overknee Striped Stockings","aspect_ratio":1},"wholesale_price":[{"price":7.99,"min_quantity":1}],"weight":"0","compare_at_price":"7.99","price":"7.99","retail_price":"7.99","available":true,"url":"\/products\/cute-cotton-long-high-overknee-striped-stockings-8284?variant=5c1ca71e-6f26-4040-9b57-b78951c8f769","available_quantity":1000,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"Free 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":"5c1ca71e-6f26-4040-9b57-b78951c8f769","product_id":"ae524f8c-0f00-4658-8c49-e6307129f6c0","title":"Black-Free Size","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693057195578","barcode":"","position":1,"option1":"Black","option2":"Free Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4854f81e956f7d7f9a2f81022e1378fc.jpeg","path":"4854f81e956f7d7f9a2f81022e1378fc.jpeg","width":640,"height":640,"alt":"Cute Cotton Long High Overknee Striped Stockings","aspect_ratio":1},"wholesale_price":[{"price":7.99,"min_quantity":1}],"weight":"0","compare_at_price":"7.99","price":"7.99","retail_price":"7.99","available":true,"url":"\/products\/cute-cotton-long-high-overknee-striped-stockings-8284?variant=5c1ca71e-6f26-4040-9b57-b78951c8f769","available_quantity":1000,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"Free 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}
`
}()}