${function() {
const variantData = data.variant || {"id":"112bf1b9-a376-4e7d-8ea1-c1115b01bd7b","product_id":"15d77f2f-ab90-4b9d-9743-698daee68e5f","title":"Green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"Green S-41076853","barcode":"","position":5,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f947cd784472c586f903c72f9dafb7f4.jpeg","path":"f947cd784472c586f903c72f9dafb7f4.jpeg","width":1001,"height":1500,"alt":"","aspect_ratio":0.6673333333333333},"wholesale_price":[{"price":35.39,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"35.39","retail_price":"0","available":true,"url":"\/products\/layered-print-pocket-high-waist-loose-beach-skirt-208565333514?variant=112bf1b9-a376-4e7d-8ea1-c1115b01bd7b","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":1};
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.
${function(){
const variantData = data.variant || {"id":"112bf1b9-a376-4e7d-8ea1-c1115b01bd7b","product_id":"15d77f2f-ab90-4b9d-9743-698daee68e5f","title":"Green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"Green S-41076853","barcode":"","position":5,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f947cd784472c586f903c72f9dafb7f4.jpeg","path":"f947cd784472c586f903c72f9dafb7f4.jpeg","width":1001,"height":1500,"alt":"","aspect_ratio":0.6673333333333333},"wholesale_price":[{"price":35.39,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"35.39","retail_price":"0","available":true,"url":"\/products\/layered-print-pocket-high-waist-loose-beach-skirt-208565333514?variant=112bf1b9-a376-4e7d-8ea1-c1115b01bd7b","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":1};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}