${function() {
const variantData = data.variant || {"id":"45de05e2-8c28-44e6-82c2-cd920bbfcae7","product_id":"76d9eaad-ac1d-416a-ad63-d784a0116269","title":"Red","weight_unit":"g","inventory_quantity":999,"sku":"XHoM31bqF-Red","barcode":"","position":3,"option1":"Red","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ed59afc7613e9d7a91f4bb55451fb830.jpeg","path":"ed59afc7613e9d7a91f4bb55451fb830.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\/alphabet-trendy-beanie-personalized-warm-hat?variant=45de05e2-8c28-44e6-82c2-cd920bbfcae7","available_quantity":999999999,"options":[{"name":"Color","value":"Red"}],"off_ratio":51,"flashsale_info":[],"sales":6};
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 : XHoM31bqF-Red
Weight : 180g
${function(){
const variantData = data.variant || {"id":"45de05e2-8c28-44e6-82c2-cd920bbfcae7","product_id":"76d9eaad-ac1d-416a-ad63-d784a0116269","title":"Red","weight_unit":"g","inventory_quantity":999,"sku":"XHoM31bqF-Red","barcode":"","position":3,"option1":"Red","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ed59afc7613e9d7a91f4bb55451fb830.jpeg","path":"ed59afc7613e9d7a91f4bb55451fb830.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\/alphabet-trendy-beanie-personalized-warm-hat?variant=45de05e2-8c28-44e6-82c2-cd920bbfcae7","available_quantity":999999999,"options":[{"name":"Color","value":"Red"}],"off_ratio":51,"flashsale_info":[],"sales":6};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}