${function() {
const variantData = data.variant || {"id":"94d83bcd-42be-41d8-ba25-19ced317f6c9","product_id":"59e14621-02af-4cb2-8c56-6b281da35330","title":"Black-S","weight_unit":"kg","inventory_quantity":0,"sku":"EO24040901-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6b893fceb476b0fb79089e806120f2ae.png","path":"6b893fceb476b0fb79089e806120f2ae.png","width":928,"height":1232,"alt":"","aspect_ratio":0.7532467532467533},"wholesale_price":[{"price":45,"min_quantity":1}],"weight":"300","compare_at_price":"45","price":"45","retail_price":"45","available":true,"url":"\/products\/mens-black-striped-casual-sleeveless-jumpsuit?variant=94d83bcd-42be-41d8-ba25-19ced317f6c9","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":1};
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":"94d83bcd-42be-41d8-ba25-19ced317f6c9","product_id":"59e14621-02af-4cb2-8c56-6b281da35330","title":"Black-S","weight_unit":"kg","inventory_quantity":0,"sku":"EO24040901-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6b893fceb476b0fb79089e806120f2ae.png","path":"6b893fceb476b0fb79089e806120f2ae.png","width":928,"height":1232,"alt":"","aspect_ratio":0.7532467532467533},"wholesale_price":[{"price":45,"min_quantity":1}],"weight":"300","compare_at_price":"45","price":"45","retail_price":"45","available":true,"url":"\/products\/mens-black-striped-casual-sleeveless-jumpsuit?variant=94d83bcd-42be-41d8-ba25-19ced317f6c9","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":1};
return `
Sku : ${variantData && variantData.sku}
Barcode : ${variantData && variantData.barcode}
`
}()}