${function() {
const variantData = data.variant || {"id":"42912627-3caf-40cc-9598-8f3f7dcf0e9e","product_id":"fb48dd18-2861-44ca-9aa5-6ecde3851d78","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-1c6251cea410414c-c884-44d7-a1f6-b12f27867df47e9730fc-5187-4fde-817e-1b19dc927d4153c6e63a-9468-40a5-b11c-82a90977c4f0?variant=42912627-3caf-40cc-9598-8f3f7dcf0e9e","available_quantity":999999999,"options":[{"name":"Color","value":"colorful"},{"name":"Size","value":"Small"}],"off_ratio":45,"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}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"42912627-3caf-40cc-9598-8f3f7dcf0e9e","product_id":"fb48dd18-2861-44ca-9aa5-6ecde3851d78","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-1c6251cea410414c-c884-44d7-a1f6-b12f27867df47e9730fc-5187-4fde-817e-1b19dc927d4153c6e63a-9468-40a5-b11c-82a90977c4f0?variant=42912627-3caf-40cc-9598-8f3f7dcf0e9e","available_quantity":999999999,"options":[{"name":"Color","value":"colorful"},{"name":"Size","value":"Small"}],"off_ratio":45,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}