${function() {
const variantData = data.variant || {"id":"935fc83c-1d6e-4ecf-b5a4-cf554dce2d68","product_id":"8fb9856c-8f6e-4124-96d2-6b07b41de6cd","title":"FREE SIZE-BURLY-50Pcs","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693057174001","barcode":"","position":1,"option1":"FREE SIZE","option2":"BURLY","option3":"50Pcs","note":"","image":null,"wholesale_price":[{"price":6.99,"min_quantity":1}],"weight":"0","compare_at_price":"6.99","price":"6.99","retail_price":"6.99","available":true,"url":"\/products\/burlywood-flower-leaves-pattern-buttons-4478?variant=935fc83c-1d6e-4ecf-b5a4-cf554dce2d68","available_quantity":1000,"options":[{"name":"Size","value":"FREE SIZE"},{"name":"Color","value":"BURLY"},{"name":"Number","value":"50Pcs"}],"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}
`
}()}
${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":"935fc83c-1d6e-4ecf-b5a4-cf554dce2d68","product_id":"8fb9856c-8f6e-4124-96d2-6b07b41de6cd","title":"FREE SIZE-BURLY-50Pcs","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693057174001","barcode":"","position":1,"option1":"FREE SIZE","option2":"BURLY","option3":"50Pcs","note":"","image":null,"wholesale_price":[{"price":6.99,"min_quantity":1}],"weight":"0","compare_at_price":"6.99","price":"6.99","retail_price":"6.99","available":true,"url":"\/products\/burlywood-flower-leaves-pattern-buttons-4478?variant=935fc83c-1d6e-4ecf-b5a4-cf554dce2d68","available_quantity":1000,"options":[{"name":"Size","value":"FREE SIZE"},{"name":"Color","value":"BURLY"},{"name":"Number","value":"50Pcs"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}