${function() {
const variantData = data.variant || {"id":"f82c1715-132b-4790-b802-ebeae2bd24b3","product_id":"fa980913-40af-41f2-a140-d34c0e80f0c9","title":"S-Blue","weight_unit":"g","inventory_quantity":0,"sku":"BM00690_Blue_S","barcode":"","position":1,"option1":"S","option2":"Blue","option3":"","note":"","image":null,"wholesale_price":[{"price":21.89,"min_quantity":1}],"weight":"0","compare_at_price":"59.99","price":"21.89","retail_price":"59.99","available":true,"url":"\/products\/button-irregular-denim-holes-mini-skirt?variant=f82c1715-132b-4790-b802-ebeae2bd24b3","available_quantity":999999999,"options":[{"name":"Size","value":"S"},{"name":"Color","value":"Blue"}],"off_ratio":64,"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":"f82c1715-132b-4790-b802-ebeae2bd24b3","product_id":"fa980913-40af-41f2-a140-d34c0e80f0c9","title":"S-Blue","weight_unit":"g","inventory_quantity":0,"sku":"BM00690_Blue_S","barcode":"","position":1,"option1":"S","option2":"Blue","option3":"","note":"","image":null,"wholesale_price":[{"price":21.89,"min_quantity":1}],"weight":"0","compare_at_price":"59.99","price":"21.89","retail_price":"59.99","available":true,"url":"\/products\/button-irregular-denim-holes-mini-skirt?variant=f82c1715-132b-4790-b802-ebeae2bd24b3","available_quantity":999999999,"options":[{"name":"Size","value":"S"},{"name":"Color","value":"Blue"}],"off_ratio":64,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}