${function() {
const variantData = data.variant || {"id":"d2bedf99-672a-4de6-af22-321434423962","product_id":"d9ad86bd-f78a-40ed-950a-4f312c24e2ea","title":"Black Background With White Lines","weight_unit":"g","inventory_quantity":999,"sku":"XHNVxrdUD-BlackBackgroundWithWhiteLines","barcode":"","position":2,"option1":"Black Background With White Lines","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/02bdd8ee9303d4cf657d60cd6dc58d36.jpeg","path":"02bdd8ee9303d4cf657d60cd6dc58d36.jpeg","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":8.89,"min_quantity":1}],"weight":"180","compare_at_price":"18","price":"8.89","retail_price":"18","available":true,"url":"\/products\/knitted-hat-cross-warm-mens-and-womens-embroidered-woolen-hat?variant=d2bedf99-672a-4de6-af22-321434423962","available_quantity":999999999,"options":[{"name":"Color","value":"Black Background With White Lines"}],"off_ratio":51,"flashsale_info":[],"sales":1};
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 : XHNVxrdUD-BlackBackgroundWithWhiteLines
Weight : 180g
${function(){
const variantData = data.variant || {"id":"d2bedf99-672a-4de6-af22-321434423962","product_id":"d9ad86bd-f78a-40ed-950a-4f312c24e2ea","title":"Black Background With White Lines","weight_unit":"g","inventory_quantity":999,"sku":"XHNVxrdUD-BlackBackgroundWithWhiteLines","barcode":"","position":2,"option1":"Black Background With White Lines","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/02bdd8ee9303d4cf657d60cd6dc58d36.jpeg","path":"02bdd8ee9303d4cf657d60cd6dc58d36.jpeg","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":8.89,"min_quantity":1}],"weight":"180","compare_at_price":"18","price":"8.89","retail_price":"18","available":true,"url":"\/products\/knitted-hat-cross-warm-mens-and-womens-embroidered-woolen-hat?variant=d2bedf99-672a-4de6-af22-321434423962","available_quantity":999999999,"options":[{"name":"Color","value":"Black Background With White Lines"}],"off_ratio":51,"flashsale_info":[],"sales":1};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}