${function() {
const variantData = data.variant || {"id":"ef9c758b-35d9-46ae-be3a-dd9c7f8839a0","product_id":"ab183883-3ab6-4b10-8327-dc1d8e6a33ae","title":"khaki-L","weight_unit":"kg","inventory_quantity":1000,"sku":"khaki L-44370887","barcode":"","position":1,"option1":"khaki","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6a92558a842bf8b05cd9c68afd548816.jpeg","path":"6a92558a842bf8b05cd9c68afd548816.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":34.81,"min_quantity":1}],"weight":"0","compare_at_price":"34.81","price":"34.81","retail_price":"34.81","available":true,"url":"\/products\/leisure-home-color-matching-printing-suit-207998499822?variant=ef9c758b-35d9-46ae-be3a-dd9c7f8839a0","available_quantity":999999999,"options":[{"name":"color","value":"khaki"},{"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":"ef9c758b-35d9-46ae-be3a-dd9c7f8839a0","product_id":"ab183883-3ab6-4b10-8327-dc1d8e6a33ae","title":"khaki-L","weight_unit":"kg","inventory_quantity":1000,"sku":"khaki L-44370887","barcode":"","position":1,"option1":"khaki","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6a92558a842bf8b05cd9c68afd548816.jpeg","path":"6a92558a842bf8b05cd9c68afd548816.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":34.81,"min_quantity":1}],"weight":"0","compare_at_price":"34.81","price":"34.81","retail_price":"34.81","available":true,"url":"\/products\/leisure-home-color-matching-printing-suit-207998499822?variant=ef9c758b-35d9-46ae-be3a-dd9c7f8839a0","available_quantity":999999999,"options":[{"name":"color","value":"khaki"},{"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}
`
}()}