${function() {
const variantData = data.variant || {"id":"61f7eddd-992a-4c62-a7e4-f92e9a94bda4","product_id":"6a03f25d-66a4-45fd-b136-b960b9875d7f","title":"Five piece set","weight_unit":"kg","inventory_quantity":1000,"sku":"CJYL119454701AZ","barcode":"","position":1,"option1":"Five piece set","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a9eafd6090150b193d357e9d52165082.jpeg","path":"a9eafd6090150b193d357e9d52165082.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":32,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"32","retail_price":"0","available":true,"url":"\/products\/small-shovel-set-for-household-flower-planting-tools?variant=61f7eddd-992a-4c62-a7e4-f92e9a94bda4","available_quantity":999999999,"options":[{"name":"Color","value":"Five piece set"}],"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}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"61f7eddd-992a-4c62-a7e4-f92e9a94bda4","product_id":"6a03f25d-66a4-45fd-b136-b960b9875d7f","title":"Five piece set","weight_unit":"kg","inventory_quantity":1000,"sku":"CJYL119454701AZ","barcode":"","position":1,"option1":"Five piece set","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a9eafd6090150b193d357e9d52165082.jpeg","path":"a9eafd6090150b193d357e9d52165082.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":32,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"32","retail_price":"0","available":true,"url":"\/products\/small-shovel-set-for-household-flower-planting-tools?variant=61f7eddd-992a-4c62-a7e4-f92e9a94bda4","available_quantity":999999999,"options":[{"name":"Color","value":"Five piece set"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}