${function() {
const variantData = data.variant || {"id":"cf6fee6f-699b-4bbe-94a0-7899b7c044bd","product_id":"f7bd6c21-2408-4807-aac9-20e8d68c859e","title":"Khaki-S","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693055501845","barcode":"","position":4,"option1":"Khaki","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a3e09ca2fbece3b34304e1e4717fb9b9.jpeg","path":"a3e09ca2fbece3b34304e1e4717fb9b9.jpeg","width":667,"height":890,"alt":"Women Cotton Linen Solid Pockets Shorts","aspect_ratio":0.749438202247191},"wholesale_price":[{"price":18.66,"min_quantity":1}],"weight":"0","compare_at_price":"18.66","price":"18.66","retail_price":"18.66","available":true,"url":"\/products\/women-cotton-linen-solid-pockets-shorts-4457?variant=cf6fee6f-699b-4bbe-94a0-7899b7c044bd","available_quantity":1000,"options":[{"name":"Color","value":"Khaki"},{"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":"cf6fee6f-699b-4bbe-94a0-7899b7c044bd","product_id":"f7bd6c21-2408-4807-aac9-20e8d68c859e","title":"Khaki-S","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693055501845","barcode":"","position":4,"option1":"Khaki","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a3e09ca2fbece3b34304e1e4717fb9b9.jpeg","path":"a3e09ca2fbece3b34304e1e4717fb9b9.jpeg","width":667,"height":890,"alt":"Women Cotton Linen Solid Pockets Shorts","aspect_ratio":0.749438202247191},"wholesale_price":[{"price":18.66,"min_quantity":1}],"weight":"0","compare_at_price":"18.66","price":"18.66","retail_price":"18.66","available":true,"url":"\/products\/women-cotton-linen-solid-pockets-shorts-4457?variant=cf6fee6f-699b-4bbe-94a0-7899b7c044bd","available_quantity":1000,"options":[{"name":"Color","value":"Khaki"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}