${function() {
const variantData = data.variant || {"id":"3222ad09-ee96-4d25-a1af-d6fe01e91729","product_id":"db285d35-f3ff-415d-a9a3-83169f2f4976","title":"Black-S","weight_unit":"kg","inventory_quantity":999,"sku":"1930201417115578369","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d74c67adfbb2e19be9870280a97cb031.jpeg","path":"d74c67adfbb2e19be9870280a97cb031.jpeg","width":1500,"height":1500,"alt":"ed97f19fff7cc11fdf6d226321576bbf","aspect_ratio":1},"wholesale_price":[{"price":20,"min_quantity":1}],"weight":"200","compare_at_price":"0","price":"20","retail_price":"0","available":true,"url":"\/products\/anchor-graphic-tank-top-for-beach-adventures?variant=3222ad09-ee96-4d25-a1af-d6fe01e91729","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"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}
`
}()}
${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":"3222ad09-ee96-4d25-a1af-d6fe01e91729","product_id":"db285d35-f3ff-415d-a9a3-83169f2f4976","title":"Black-S","weight_unit":"kg","inventory_quantity":999,"sku":"1930201417115578369","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d74c67adfbb2e19be9870280a97cb031.jpeg","path":"d74c67adfbb2e19be9870280a97cb031.jpeg","width":1500,"height":1500,"alt":"ed97f19fff7cc11fdf6d226321576bbf","aspect_ratio":1},"wholesale_price":[{"price":20,"min_quantity":1}],"weight":"200","compare_at_price":"0","price":"20","retail_price":"0","available":true,"url":"\/products\/anchor-graphic-tank-top-for-beach-adventures?variant=3222ad09-ee96-4d25-a1af-d6fe01e91729","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Barcode : ${variantData && variantData.barcode}
`
}()}