${function() {
const variantData = data.variant || {"id":"4bc78f1c-9f75-41e8-843e-0b22b7108630","product_id":"88060142-a693-40de-a829-c3cb6f6be6e3","title":"White","weight_unit":"g","inventory_quantity":999,"sku":"XHSi4KiWT-White","barcode":"","position":2,"option1":"White","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6e3b1c28099bf8339880d75422d830e5.jpeg","path":"6e3b1c28099bf8339880d75422d830e5.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\/autumn-and-winter-hot-selling-knitted-hats-for-men-and-women-with-alphabet-letters-and-warm-hats?variant=4bc78f1c-9f75-41e8-843e-0b22b7108630","available_quantity":999999999,"options":[{"name":"Color","value":"White"}],"off_ratio":51,"flashsale_info":[],"sales":18};
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 : XHSi4KiWT-White
Weight : 180g
${function(){
const variantData = data.variant || {"id":"4bc78f1c-9f75-41e8-843e-0b22b7108630","product_id":"88060142-a693-40de-a829-c3cb6f6be6e3","title":"White","weight_unit":"g","inventory_quantity":999,"sku":"XHSi4KiWT-White","barcode":"","position":2,"option1":"White","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6e3b1c28099bf8339880d75422d830e5.jpeg","path":"6e3b1c28099bf8339880d75422d830e5.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\/autumn-and-winter-hot-selling-knitted-hats-for-men-and-women-with-alphabet-letters-and-warm-hats?variant=4bc78f1c-9f75-41e8-843e-0b22b7108630","available_quantity":999999999,"options":[{"name":"Color","value":"White"}],"off_ratio":51,"flashsale_info":[],"sales":18};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}