${function() {
const variantData = data.variant || {"id":"be6258af-a592-4a9c-97a9-4c7bd4a3575a","product_id":"02b646f7-e472-4e8c-a322-69f83e0fd683","title":"Khaki-S","weight_unit":"kg","inventory_quantity":0,"sku":"HL3868-2-S","barcode":"","position":6,"option1":"Khaki","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/32b0a62a39189d9e79c61871e7e50934.jpeg","path":"32b0a62a39189d9e79c61871e7e50934.jpeg","width":800,"height":1200,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":47.49,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"47.49","retail_price":"0","available":true,"url":"\/products\/casual-simplicity-solid-pocket-o-neck-two-pieces?variant=be6258af-a592-4a9c-97a9-4c7bd4a3575a","available_quantity":999999999,"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":"be6258af-a592-4a9c-97a9-4c7bd4a3575a","product_id":"02b646f7-e472-4e8c-a322-69f83e0fd683","title":"Khaki-S","weight_unit":"kg","inventory_quantity":0,"sku":"HL3868-2-S","barcode":"","position":6,"option1":"Khaki","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/32b0a62a39189d9e79c61871e7e50934.jpeg","path":"32b0a62a39189d9e79c61871e7e50934.jpeg","width":800,"height":1200,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":47.49,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"47.49","retail_price":"0","available":true,"url":"\/products\/casual-simplicity-solid-pocket-o-neck-two-pieces?variant=be6258af-a592-4a9c-97a9-4c7bd4a3575a","available_quantity":999999999,"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}
`
}()}