${function() {
const variantData = data.variant || {"id":"bfcee6b3-15ba-4ffd-8ab0-6e1113b4ff5f","product_id":"a8dd9df3-79e2-4122-b7d6-cd25ea140e5e","title":"black-xs","weight_unit":"kg","inventory_quantity":999,"sku":"4075968","barcode":"4075968","position":1,"option1":"black","option2":"xs","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e9af2c3a7a769e33bc180513cfd2949c.webp","path":"e9af2c3a7a769e33bc180513cfd2949c.webp","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":18,"min_quantity":1}],"weight":"0.15","compare_at_price":"0","price":"18","retail_price":"0","available":true,"url":"\/products\/decorative-buttons-hollow-out-plain-t-shirts?variant=bfcee6b3-15ba-4ffd-8ab0-6e1113b4ff5f","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"xs"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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 : 4075968
Weight : 0.15kg
Barcode : 4075968
${function(){
const variantData = data.variant || {"id":"bfcee6b3-15ba-4ffd-8ab0-6e1113b4ff5f","product_id":"a8dd9df3-79e2-4122-b7d6-cd25ea140e5e","title":"black-xs","weight_unit":"kg","inventory_quantity":999,"sku":"4075968","barcode":"4075968","position":1,"option1":"black","option2":"xs","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e9af2c3a7a769e33bc180513cfd2949c.webp","path":"e9af2c3a7a769e33bc180513cfd2949c.webp","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":18,"min_quantity":1}],"weight":"0.15","compare_at_price":"0","price":"18","retail_price":"0","available":true,"url":"\/products\/decorative-buttons-hollow-out-plain-t-shirts?variant=bfcee6b3-15ba-4ffd-8ab0-6e1113b4ff5f","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"xs"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}