${function() {
const variantData = data.variant || {"id":"bbe5798f-8c16-4c6a-9705-5a9efe18eeff","product_id":"820b1960-c3ac-45d3-85a9-94747344fc52","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XHuHdnXMN-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e1e5b5ef6c54891dcbb7fcf7eb764c22.jpeg","path":"e1e5b5ef6c54891dcbb7fcf7eb764c22.jpeg","width":1080,"height":1080,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":28.89,"min_quantity":1}],"weight":"300","compare_at_price":"39","price":"28.89","retail_price":"39","available":true,"url":"\/products\/2hearts-print-long-sleeve-hoodies?variant=bbe5798f-8c16-4c6a-9705-5a9efe18eeff","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":26,"flashsale_info":[],"sales":2};
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}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.
Sku : XHuHdnXMN-Black-S
Weight : 300g
${function(){
const variantData = data.variant || {"id":"bbe5798f-8c16-4c6a-9705-5a9efe18eeff","product_id":"820b1960-c3ac-45d3-85a9-94747344fc52","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XHuHdnXMN-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e1e5b5ef6c54891dcbb7fcf7eb764c22.jpeg","path":"e1e5b5ef6c54891dcbb7fcf7eb764c22.jpeg","width":1080,"height":1080,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":28.89,"min_quantity":1}],"weight":"300","compare_at_price":"39","price":"28.89","retail_price":"39","available":true,"url":"\/products\/2hearts-print-long-sleeve-hoodies?variant=bbe5798f-8c16-4c6a-9705-5a9efe18eeff","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":26,"flashsale_info":[],"sales":2};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}