${function() {
const variantData = data.variant || {"id":"b0c65a9a-fd3c-4184-bbed-0870873bcf4a","product_id":"b751aac5-5528-40d6-a931-1f65d1ff9d12","title":"Black-3XL","weight_unit":"g","inventory_quantity":0,"sku":"T55B-A162-Black-3XL","barcode":"","position":1,"option1":"Black","option2":"3XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/48a4e90201e9185e536f4b4236de1ed3.jpeg","path":"48a4e90201e9185e536f4b4236de1ed3.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":16.98,"min_quantity":1}],"weight":"201","compare_at_price":"27.98","price":"16.98","retail_price":"27.98","available":true,"url":"\/products\/i-am-who-i-am-your-approval-is-not-needed-print-washed-cloth-t-shirt?variant=b0c65a9a-fd3c-4184-bbed-0870873bcf4a","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"3XL"}],"off_ratio":39,"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":"b0c65a9a-fd3c-4184-bbed-0870873bcf4a","product_id":"b751aac5-5528-40d6-a931-1f65d1ff9d12","title":"Black-3XL","weight_unit":"g","inventory_quantity":0,"sku":"T55B-A162-Black-3XL","barcode":"","position":1,"option1":"Black","option2":"3XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/48a4e90201e9185e536f4b4236de1ed3.jpeg","path":"48a4e90201e9185e536f4b4236de1ed3.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":16.98,"min_quantity":1}],"weight":"201","compare_at_price":"27.98","price":"16.98","retail_price":"27.98","available":true,"url":"\/products\/i-am-who-i-am-your-approval-is-not-needed-print-washed-cloth-t-shirt?variant=b0c65a9a-fd3c-4184-bbed-0870873bcf4a","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"3XL"}],"off_ratio":39,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}