${function() {
const variantData = data.variant || {"id":"65b42d29-e923-479b-a326-15a4646e4c52","product_id":"875b50fb-dfef-48e2-a807-4205d663fc16","title":"BLACK1","weight_unit":"kg","inventory_quantity":500,"sku":"FP04056-BLACK1-A001141","barcode":"","position":1,"option1":"BLACK1","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/81d179a4b4ac0a7752fd71deff1e7f1a.jpeg","path":"81d179a4b4ac0a7752fd71deff1e7f1a.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":31.47,"min_quantity":1}],"weight":"1","compare_at_price":"94.41","price":"31.47","retail_price":"94.41","available":true,"url":"\/products\/grow-your-own-veggies-with-this-durable-breathable-plant-grow-bag?variant=65b42d29-e923-479b-a326-15a4646e4c52","available_quantity":500,"options":[{"name":"Color","value":"BLACK1"}],"off_ratio":67,"flashsale_info":[],"sales":1000};
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 : FP04056-BLACK1-A001141
Weight : 1kg
${function(){
const variantData = data.variant || {"id":"65b42d29-e923-479b-a326-15a4646e4c52","product_id":"875b50fb-dfef-48e2-a807-4205d663fc16","title":"BLACK1","weight_unit":"kg","inventory_quantity":500,"sku":"FP04056-BLACK1-A001141","barcode":"","position":1,"option1":"BLACK1","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/81d179a4b4ac0a7752fd71deff1e7f1a.jpeg","path":"81d179a4b4ac0a7752fd71deff1e7f1a.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":31.47,"min_quantity":1}],"weight":"1","compare_at_price":"94.41","price":"31.47","retail_price":"94.41","available":true,"url":"\/products\/grow-your-own-veggies-with-this-durable-breathable-plant-grow-bag?variant=65b42d29-e923-479b-a326-15a4646e4c52","available_quantity":500,"options":[{"name":"Color","value":"BLACK1"}],"off_ratio":67,"flashsale_info":[],"sales":1000};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}