${function() {
const variantData = data.variant || {"id":"02b37f1d-f6b6-4aed-b365-0de1f21359cd","product_id":"681d8a4a-d833-4686-9221-7cd128ab8fad","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/139ff723ab73247f4223c24be3cd69eb.jpeg","path":"139ff723ab73247f4223c24be3cd69eb.jpeg","width":2000,"height":2000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":13.98,"min_quantity":1}],"weight":"0","compare_at_price":"28.92","price":"13.98","retail_price":"28.92","available":true,"url":"\/products\/because-im-the-dm-thats-why-printed-v-neck-womens-t-shirt?variant=02b37f1d-f6b6-4aed-b365-0de1f21359cd","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"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":"02b37f1d-f6b6-4aed-b365-0de1f21359cd","product_id":"681d8a4a-d833-4686-9221-7cd128ab8fad","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/139ff723ab73247f4223c24be3cd69eb.jpeg","path":"139ff723ab73247f4223c24be3cd69eb.jpeg","width":2000,"height":2000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":13.98,"min_quantity":1}],"weight":"0","compare_at_price":"28.92","price":"13.98","retail_price":"28.92","available":true,"url":"\/products\/because-im-the-dm-thats-why-printed-v-neck-womens-t-shirt?variant=02b37f1d-f6b6-4aed-b365-0de1f21359cd","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":52,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}