${function() {
const variantData = data.variant || {"id":"6b376ed1-877d-4306-a110-c0c59546f261","product_id":"2074c558-13e0-4a59-960a-31f3f991474e","title":"Beige-1pc","weight_unit":"kg","inventory_quantity":0,"sku":"LE31936986MIS","barcode":"","position":1,"option1":"Beige","option2":"1pc","option3":"","note":"","image":null,"wholesale_price":[{"price":14.99,"min_quantity":1}],"weight":"0","compare_at_price":"14.99","price":"14.99","retail_price":"14.99","available":true,"url":"\/products\/mul-8f0h?variant=6b376ed1-877d-4306-a110-c0c59546f261","available_quantity":999999999,"options":[{"name":"Color","value":"Beige"},{"name":"Quantity","value":"1pc"}],"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 + '%'
: ``
)}
`;
}()}
Color
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Quantity
${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":"6b376ed1-877d-4306-a110-c0c59546f261","product_id":"2074c558-13e0-4a59-960a-31f3f991474e","title":"Beige-1pc","weight_unit":"kg","inventory_quantity":0,"sku":"LE31936986MIS","barcode":"","position":1,"option1":"Beige","option2":"1pc","option3":"","note":"","image":null,"wholesale_price":[{"price":14.99,"min_quantity":1}],"weight":"0","compare_at_price":"14.99","price":"14.99","retail_price":"14.99","available":true,"url":"\/products\/mul-8f0h?variant=6b376ed1-877d-4306-a110-c0c59546f261","available_quantity":999999999,"options":[{"name":"Color","value":"Beige"},{"name":"Quantity","value":"1pc"}],"off_ratio":0,"flashsale_info":[],"sales":1};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}