${function() {
const variantData = data.variant || {"id":"f1b936b9-5910-4963-be45-99fcd2820af2","product_id":"c8dc47bf-538a-408d-8f15-f7519b179e65","title":"Man In Black","weight_unit":"g","inventory_quantity":999,"sku":"XHfs0i6Hh-ManInBlack","barcode":"","position":2,"option1":"Man In Black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/747081843b20b6c78eed5d59d0c0fb7f.jpeg","path":"747081843b20b6c78eed5d59d0c0fb7f.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":10.89,"min_quantity":1}],"weight":"100","compare_at_price":"15","price":"10.89","retail_price":"15","available":true,"url":"\/products\/bald-embroidered-mens-and-womens-knitted-hats-woolen-hat-pullover-hat?variant=f1b936b9-5910-4963-be45-99fcd2820af2","available_quantity":999999999,"options":[{"name":"Color","value":"Man In Black"}],"off_ratio":27,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = false;
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}
`
}()}
Product was out of stock.
Product is unavailable.
Sku : XHfs0i6Hh-ManInBlack
Weight : 100g
${function(){
const variantData = data.variant || {"id":"f1b936b9-5910-4963-be45-99fcd2820af2","product_id":"c8dc47bf-538a-408d-8f15-f7519b179e65","title":"Man In Black","weight_unit":"g","inventory_quantity":999,"sku":"XHfs0i6Hh-ManInBlack","barcode":"","position":2,"option1":"Man In Black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/747081843b20b6c78eed5d59d0c0fb7f.jpeg","path":"747081843b20b6c78eed5d59d0c0fb7f.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":10.89,"min_quantity":1}],"weight":"100","compare_at_price":"15","price":"10.89","retail_price":"15","available":true,"url":"\/products\/bald-embroidered-mens-and-womens-knitted-hats-woolen-hat-pullover-hat?variant=f1b936b9-5910-4963-be45-99fcd2820af2","available_quantity":999999999,"options":[{"name":"Color","value":"Man In Black"}],"off_ratio":27,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}