${function() {
const variantData = data.variant || {"id":"de5425b9-6d56-42eb-8165-f94be3ab59e5","product_id":"64bdff43-7447-4d92-b8a1-2cf9d0ab0345","title":"Gray-S","weight_unit":"g","inventory_quantity":999,"sku":"XHJ83zutg-Gray-S","barcode":"","position":1,"option1":"Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1d339c348fe2c66f469ef70c2f40e35a.jpeg","path":"1d339c348fe2c66f469ef70c2f40e35a.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":32.89,"min_quantity":1}],"weight":"300","compare_at_price":"47","price":"32.89","retail_price":"47","available":true,"url":"\/products\/casual-lapel-zipper-angel-shirt?variant=de5425b9-6d56-42eb-8165-f94be3ab59e5","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":4};
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 : XHJ83zutg-Gray-S
Weight : 300g
${function(){
const variantData = data.variant || {"id":"de5425b9-6d56-42eb-8165-f94be3ab59e5","product_id":"64bdff43-7447-4d92-b8a1-2cf9d0ab0345","title":"Gray-S","weight_unit":"g","inventory_quantity":999,"sku":"XHJ83zutg-Gray-S","barcode":"","position":1,"option1":"Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1d339c348fe2c66f469ef70c2f40e35a.jpeg","path":"1d339c348fe2c66f469ef70c2f40e35a.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":32.89,"min_quantity":1}],"weight":"300","compare_at_price":"47","price":"32.89","retail_price":"47","available":true,"url":"\/products\/casual-lapel-zipper-angel-shirt?variant=de5425b9-6d56-42eb-8165-f94be3ab59e5","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":4};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}