${function() {
const variantData = data.variant || {"id":"9cdcfd66-bbd5-4c33-a616-7d6c96b2ffde","product_id":"1ce70676-153f-4ca6-b586-304774cb1e0c","title":"Black-US 8","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Black","option2":"US 8","option3":"","note":"","image":null,"wholesale_price":[{"price":160,"min_quantity":1}],"weight":"2","compare_at_price":"200","price":"160","retail_price":"200","available":true,"url":"\/products\/business-british-fashion-shiny-leather-shoes-8mvs?variant=9cdcfd66-bbd5-4c33-a616-7d6c96b2ffde","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"US 8"}],"off_ratio":20,"flashsale_info":[],"sales":5};
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":"9cdcfd66-bbd5-4c33-a616-7d6c96b2ffde","product_id":"1ce70676-153f-4ca6-b586-304774cb1e0c","title":"Black-US 8","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Black","option2":"US 8","option3":"","note":"","image":null,"wholesale_price":[{"price":160,"min_quantity":1}],"weight":"2","compare_at_price":"200","price":"160","retail_price":"200","available":true,"url":"\/products\/business-british-fashion-shiny-leather-shoes-8mvs?variant=9cdcfd66-bbd5-4c33-a616-7d6c96b2ffde","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"US 8"}],"off_ratio":20,"flashsale_info":[],"sales":5};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}