${function() {
const variantData = data.variant || {"id":"00dcc92b-223c-415b-a748-c92eb55fb220","product_id":"3b46aa27-4d81-4183-a61f-c5bd5b42c517","title":"purple-L","weight_unit":"kg","inventory_quantity":1000,"sku":"purple L-44371330","barcode":"","position":1,"option1":"purple","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e38cbdd59a088c81736cef4a763b2a51.jpeg","path":"e38cbdd59a088c81736cef4a763b2a51.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":35.93,"min_quantity":1}],"weight":"0","compare_at_price":"35.93","price":"35.93","retail_price":"35.93","available":true,"url":"\/products\/chic-flared-sleeve-pants-design-sense-of-casual-temperament-suit-207998471532?variant=00dcc92b-223c-415b-a748-c92eb55fb220","available_quantity":999999999,"options":[{"name":"color","value":"purple"},{"name":"size","value":"L"}],"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":"00dcc92b-223c-415b-a748-c92eb55fb220","product_id":"3b46aa27-4d81-4183-a61f-c5bd5b42c517","title":"purple-L","weight_unit":"kg","inventory_quantity":1000,"sku":"purple L-44371330","barcode":"","position":1,"option1":"purple","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e38cbdd59a088c81736cef4a763b2a51.jpeg","path":"e38cbdd59a088c81736cef4a763b2a51.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":35.93,"min_quantity":1}],"weight":"0","compare_at_price":"35.93","price":"35.93","retail_price":"35.93","available":true,"url":"\/products\/chic-flared-sleeve-pants-design-sense-of-casual-temperament-suit-207998471532?variant=00dcc92b-223c-415b-a748-c92eb55fb220","available_quantity":999999999,"options":[{"name":"color","value":"purple"},{"name":"size","value":"L"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}