${function() {
const variantData = data.variant || {"id":"4e9f32e2-f716-484d-a3d6-c7d6baad81d1","product_id":"8c3c76eb-f019-467a-8f05-d259c2134036","title":"Black-S","weight_unit":"g","inventory_quantity":0,"sku":"EA23071980_BLK_S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4fdb3dd1046abed8e30e4088e19ddac9.png","path":"4fdb3dd1046abed8e30e4088e19ddac9.png","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":18.99,"min_quantity":1}],"weight":"300","compare_at_price":"31.99","price":"18.99","retail_price":"31.99","available":true,"url":"\/products\/with-mountains-and-compass-print-womens-t-shirt-ea23071980-1?variant=4e9f32e2-f716-484d-a3d6-c7d6baad81d1","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":41,"flashsale_info":[],"sales":2};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
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 : EA23071980_BLK_S
Weight : 300g
${function(){
const variantData = data.variant || {"id":"4e9f32e2-f716-484d-a3d6-c7d6baad81d1","product_id":"8c3c76eb-f019-467a-8f05-d259c2134036","title":"Black-S","weight_unit":"g","inventory_quantity":0,"sku":"EA23071980_BLK_S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4fdb3dd1046abed8e30e4088e19ddac9.png","path":"4fdb3dd1046abed8e30e4088e19ddac9.png","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":18.99,"min_quantity":1}],"weight":"300","compare_at_price":"31.99","price":"18.99","retail_price":"31.99","available":true,"url":"\/products\/with-mountains-and-compass-print-womens-t-shirt-ea23071980-1?variant=4e9f32e2-f716-484d-a3d6-c7d6baad81d1","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":41,"flashsale_info":[],"sales":2};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}