${function() {
const variantData = data.variant || {"id":"6924eb4b-3236-429c-8b69-88ffb7d4bef2","product_id":"a2fd99b5-34b4-40ad-b254-42d41cd62081","title":"White","weight_unit":"g","inventory_quantity":999,"sku":"XH2Ht8w04-White","barcode":"","position":2,"option1":"White","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3557d0263771b4da139deb5ab5912d65.jpeg","path":"3557d0263771b4da139deb5ab5912d65.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\/new-woolen-warm-knitted-hat-with-english-letters?variant=6924eb4b-3236-429c-8b69-88ffb7d4bef2","available_quantity":999999999,"options":[{"name":"Color","value":"White"}],"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 : XH2Ht8w04-White
Weight : 180g
${function(){
const variantData = data.variant || {"id":"6924eb4b-3236-429c-8b69-88ffb7d4bef2","product_id":"a2fd99b5-34b4-40ad-b254-42d41cd62081","title":"White","weight_unit":"g","inventory_quantity":999,"sku":"XH2Ht8w04-White","barcode":"","position":2,"option1":"White","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3557d0263771b4da139deb5ab5912d65.jpeg","path":"3557d0263771b4da139deb5ab5912d65.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\/new-woolen-warm-knitted-hat-with-english-letters?variant=6924eb4b-3236-429c-8b69-88ffb7d4bef2","available_quantity":999999999,"options":[{"name":"Color","value":"White"}],"off_ratio":51,"flashsale_info":[],"sales":1};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}