${function() {
const variantData = data.variant || {"id":"6ff3f3a4-b5c4-4bf0-86d9-fe96349acc3f","product_id":"d0c5626b-6a7c-4967-a118-c66c05d2ed34","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":170,"min_quantity":1}],"weight":"2","compare_at_price":"200","price":"170","retail_price":"200","available":true,"url":"\/products\/business-formal-wear-black-pointed-leather-shoes-y61p?variant=6ff3f3a4-b5c4-4bf0-86d9-fe96349acc3f","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"US 8"}],"off_ratio":15,"flashsale_info":[],"sales":39};
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":"6ff3f3a4-b5c4-4bf0-86d9-fe96349acc3f","product_id":"d0c5626b-6a7c-4967-a118-c66c05d2ed34","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":170,"min_quantity":1}],"weight":"2","compare_at_price":"200","price":"170","retail_price":"200","available":true,"url":"\/products\/business-formal-wear-black-pointed-leather-shoes-y61p?variant=6ff3f3a4-b5c4-4bf0-86d9-fe96349acc3f","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"US 8"}],"off_ratio":15,"flashsale_info":[],"sales":39};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}