${function() {
const variantData = data.variant || {"id":"9b317fcb-0c14-4f2d-b4d2-d68beb6e3198","product_id":"7263f2fc-36db-452e-801b-0603aac2ba20","title":"colorful-Small","weight_unit":"kg","inventory_quantity":1000,"sku":"CP54309-C296","barcode":"","position":1,"option1":"colorful","option2":"Small","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9ebdaf3ca5f83c1a71b5e19d67a7a51f.jpeg","path":"9ebdaf3ca5f83c1a71b5e19d67a7a51f.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":26.95,"min_quantity":1}],"weight":"0","compare_at_price":"48.98","price":"26.95","retail_price":"48.98","available":true,"url":"\/products\/canister-with-attitude0-8b07-1c6251ce1bb305fe-5f26-44d6-ab37-ae8b15828fbf?variant=9b317fcb-0c14-4f2d-b4d2-d68beb6e3198","available_quantity":999999999,"options":[{"name":"Color","value":"colorful"},{"name":"Size","value":"Small"}],"off_ratio":45,"flashsale_info":[],"sales":4};
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":"9b317fcb-0c14-4f2d-b4d2-d68beb6e3198","product_id":"7263f2fc-36db-452e-801b-0603aac2ba20","title":"colorful-Small","weight_unit":"kg","inventory_quantity":1000,"sku":"CP54309-C296","barcode":"","position":1,"option1":"colorful","option2":"Small","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9ebdaf3ca5f83c1a71b5e19d67a7a51f.jpeg","path":"9ebdaf3ca5f83c1a71b5e19d67a7a51f.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":26.95,"min_quantity":1}],"weight":"0","compare_at_price":"48.98","price":"26.95","retail_price":"48.98","available":true,"url":"\/products\/canister-with-attitude0-8b07-1c6251ce1bb305fe-5f26-44d6-ab37-ae8b15828fbf?variant=9b317fcb-0c14-4f2d-b4d2-d68beb6e3198","available_quantity":999999999,"options":[{"name":"Color","value":"colorful"},{"name":"Size","value":"Small"}],"off_ratio":45,"flashsale_info":[],"sales":4};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}