${function() {
const variantData = data.variant || {"id":"f1ae85a3-9b0a-44ac-acf7-210149ca9a0c","product_id":"88275106-3b3f-43f9-94b6-749365712f21","title":"Black-S","weight_unit":"g","inventory_quantity":0,"sku":"T55B-A333-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8f93396b2bda9ab33a0ea3ee73825a7f.jpg","path":"8f93396b2bda9ab33a0ea3ee73825a7f.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":16.98,"min_quantity":1}],"weight":"157.5","compare_at_price":"21.48","price":"16.98","retail_price":"21.48","available":true,"url":"\/products\/plants-not-people-printed-skeleton-t-shirt?variant=f1ae85a3-9b0a-44ac-acf7-210149ca9a0c","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":21,"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":"f1ae85a3-9b0a-44ac-acf7-210149ca9a0c","product_id":"88275106-3b3f-43f9-94b6-749365712f21","title":"Black-S","weight_unit":"g","inventory_quantity":0,"sku":"T55B-A333-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8f93396b2bda9ab33a0ea3ee73825a7f.jpg","path":"8f93396b2bda9ab33a0ea3ee73825a7f.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":16.98,"min_quantity":1}],"weight":"157.5","compare_at_price":"21.48","price":"16.98","retail_price":"21.48","available":true,"url":"\/products\/plants-not-people-printed-skeleton-t-shirt?variant=f1ae85a3-9b0a-44ac-acf7-210149ca9a0c","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":21,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}