${function() {
const variantData = data.variant || {"id":"ca6e5b81-525b-42d7-9b4f-37b2cf9fb280","product_id":"b62554c6-1467-4b34-8b44-70f490871fd5","title":"black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693017241242","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1d5fbac0f5cc68059a36d66e3d645845.jpeg","path":"1d5fbac0f5cc68059a36d66e3d645845.jpeg","width":750,"height":1000,"alt":"Loose Vintage Ruffle Striped Linen & Cotton Dress","aspect_ratio":0.75},"wholesale_price":[{"price":22.42,"min_quantity":1}],"weight":"0","compare_at_price":"22.42","price":"22.42","retail_price":"22.42","available":true,"url":"\/products\/loose-vintage-ruffle-striped-linen-cotton-dress-8627?variant=ca6e5b81-525b-42d7-9b4f-37b2cf9fb280","available_quantity":1000,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
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.
${function(){
const variantData = data.variant || {"id":"ca6e5b81-525b-42d7-9b4f-37b2cf9fb280","product_id":"b62554c6-1467-4b34-8b44-70f490871fd5","title":"black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693017241242","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1d5fbac0f5cc68059a36d66e3d645845.jpeg","path":"1d5fbac0f5cc68059a36d66e3d645845.jpeg","width":750,"height":1000,"alt":"Loose Vintage Ruffle Striped Linen & Cotton Dress","aspect_ratio":0.75},"wholesale_price":[{"price":22.42,"min_quantity":1}],"weight":"0","compare_at_price":"22.42","price":"22.42","retail_price":"22.42","available":true,"url":"\/products\/loose-vintage-ruffle-striped-linen-cotton-dress-8627?variant=ca6e5b81-525b-42d7-9b4f-37b2cf9fb280","available_quantity":1000,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}