${function() {
const variantData = data.variant || {"id":"c7e2cc7e-1eed-4ab6-9ddb-d53993fe2ecf","product_id":"221d1434-671c-41df-a25c-c23de6d4c12b","title":"red-m","weight_unit":"kg","inventory_quantity":1000,"sku":"red m-7536279","barcode":"","position":7,"option1":"red","option2":"m","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7ea1fd7ee8eead8e9122073df8653411.jpeg","path":"7ea1fd7ee8eead8e9122073df8653411.jpeg","width":800,"height":800,"alt":"Fashion Round Collar Long Sleeve Loose Comfortable Sweater","aspect_ratio":1},"wholesale_price":[{"price":38.33,"min_quantity":1}],"weight":"0","compare_at_price":"38.33","price":"38.33","retail_price":"38.33","available":true,"url":"\/products\/fashion-round-collar-long-sleeve-loose-comfortable-sweater-208529408289?variant=c7e2cc7e-1eed-4ab6-9ddb-d53993fe2ecf","available_quantity":999999999,"options":[{"name":"Color","value":"red"},{"name":"size","value":"m"}],"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":"c7e2cc7e-1eed-4ab6-9ddb-d53993fe2ecf","product_id":"221d1434-671c-41df-a25c-c23de6d4c12b","title":"red-m","weight_unit":"kg","inventory_quantity":1000,"sku":"red m-7536279","barcode":"","position":7,"option1":"red","option2":"m","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7ea1fd7ee8eead8e9122073df8653411.jpeg","path":"7ea1fd7ee8eead8e9122073df8653411.jpeg","width":800,"height":800,"alt":"Fashion Round Collar Long Sleeve Loose Comfortable Sweater","aspect_ratio":1},"wholesale_price":[{"price":38.33,"min_quantity":1}],"weight":"0","compare_at_price":"38.33","price":"38.33","retail_price":"38.33","available":true,"url":"\/products\/fashion-round-collar-long-sleeve-loose-comfortable-sweater-208529408289?variant=c7e2cc7e-1eed-4ab6-9ddb-d53993fe2ecf","available_quantity":999999999,"options":[{"name":"Color","value":"red"},{"name":"size","value":"m"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}