${function() {
const variantData = data.variant || {"id":"b1697f2d-6a5b-461f-8b58-8010703c1f27","product_id":"c33f2d7f-4faa-4205-a0f8-f8f18901cb0a","title":"S-Red","weight_unit":"g","inventory_quantity":0,"sku":"ABM00333","barcode":"","position":1,"option1":"S","option2":"Red","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9d4803696d539ef370e983519730bb95.jpeg","path":"9d4803696d539ef370e983519730bb95.jpeg","width":683,"height":1024,"alt":"","aspect_ratio":0.6669921875},"wholesale_price":[{"price":28.99,"min_quantity":1}],"weight":"0","compare_at_price":"59.99","price":"28.99","retail_price":"59.99","available":true,"url":"\/products\/stripe-print-tassels-high-waist-maxi-skirts?variant=b1697f2d-6a5b-461f-8b58-8010703c1f27","available_quantity":999999999,"options":[{"name":"Size","value":"S"},{"name":"Color","value":"Red"}],"off_ratio":52,"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":"b1697f2d-6a5b-461f-8b58-8010703c1f27","product_id":"c33f2d7f-4faa-4205-a0f8-f8f18901cb0a","title":"S-Red","weight_unit":"g","inventory_quantity":0,"sku":"ABM00333","barcode":"","position":1,"option1":"S","option2":"Red","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9d4803696d539ef370e983519730bb95.jpeg","path":"9d4803696d539ef370e983519730bb95.jpeg","width":683,"height":1024,"alt":"","aspect_ratio":0.6669921875},"wholesale_price":[{"price":28.99,"min_quantity":1}],"weight":"0","compare_at_price":"59.99","price":"28.99","retail_price":"59.99","available":true,"url":"\/products\/stripe-print-tassels-high-waist-maxi-skirts?variant=b1697f2d-6a5b-461f-8b58-8010703c1f27","available_quantity":999999999,"options":[{"name":"Size","value":"S"},{"name":"Color","value":"Red"}],"off_ratio":52,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}