${function() {
const variantData = data.variant || {"id":"22d3cd64-001f-4bf6-b9f5-86aa677e1f7b","product_id":"7836d519-0270-4f66-abf6-c78e87b8b178","title":"50*50cm","weight_unit":"kg","inventory_quantity":500,"sku":"XY02773-50*50cm-A001151","barcode":"","position":1,"option1":"50*50cm","option2":"","option3":"","note":"50*50cm","image":{"src":"\/\/img.staticdj.com\/b2db76be8bcf33e6ae69bcee365c8dff.jpg","path":"b2db76be8bcf33e6ae69bcee365c8dff.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":14.97,"min_quantity":1}],"weight":"0.5","compare_at_price":"44.91","price":"14.97","retail_price":"44.91","available":true,"url":"\/products\/upgrade-your-plant-care-with-a-foldable-waterproof-and-thicken-repotting-mat-perfect-for-bonsai-and-succulents?variant=22d3cd64-001f-4bf6-b9f5-86aa677e1f7b","available_quantity":500,"options":[{"name":"Size","value":"50*50cm"}],"off_ratio":67,"flashsale_info":[],"sales":5000};
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}
`
}()}
Product was out of stock.
Product is unavailable.
Sku : XY02773-50*50cm-A001151
Weight : 0.5kg
${function(){
const variantData = data.variant || {"id":"22d3cd64-001f-4bf6-b9f5-86aa677e1f7b","product_id":"7836d519-0270-4f66-abf6-c78e87b8b178","title":"50*50cm","weight_unit":"kg","inventory_quantity":500,"sku":"XY02773-50*50cm-A001151","barcode":"","position":1,"option1":"50*50cm","option2":"","option3":"","note":"50*50cm","image":{"src":"\/\/img.staticdj.com\/b2db76be8bcf33e6ae69bcee365c8dff.jpg","path":"b2db76be8bcf33e6ae69bcee365c8dff.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":14.97,"min_quantity":1}],"weight":"0.5","compare_at_price":"44.91","price":"14.97","retail_price":"44.91","available":true,"url":"\/products\/upgrade-your-plant-care-with-a-foldable-waterproof-and-thicken-repotting-mat-perfect-for-bonsai-and-succulents?variant=22d3cd64-001f-4bf6-b9f5-86aa677e1f7b","available_quantity":500,"options":[{"name":"Size","value":"50*50cm"}],"off_ratio":67,"flashsale_info":[],"sales":5000};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}