var plugins = {
    PriceUpdater : {
        settings: {
            currencySymbol: '$'
        },
        prices: {
            sell: {
                selector: '#sell-price'
            },
            retail: {
                selector: '#retail-price',
                field: 'mpn'
            },
            difference: {
                selector: '#retail-to-sale-difference',
                message: 'You save {$}, thats {%}!'
            }
        }
    },
    FrontEndNotifications : {
        settings: {
            
            dateField: 'isbn',
            
            // http://blog.stevenlevithan.com/archives/date-time-format
            dateFormat: 'mmmm, d yyyy'

        },
        notifications: {
            outOfStock: {
                message: {
                    text: 'We are currently out of stock of this item with these options!',
                    elementClass: 'frontend-notifications-out-of-stock'
                }
            },
            threshold: {
                message: {
                    text: 'There is only {quantity} left! Hurry while supplies last!',
                    elementClass: 'frontend-notifications-threshold-reached'
                },
                settings: {
                    limit: 5
                }
            },
            backorders: {
                message: {
                    text: 'This item is out of stock right now! We are getting more on {date} though.',
                    elementClass: 'frontend-notificiations-backorder'
                }
            },
            preorders: {
                message: {
                    text: 'You may preorder this product! It will ship on {date}!',
                    elementClass: 'frontend-notifications-preorder'
                },
                settings: {
                    flag: 'upc' 
                }
            },
            inStock: {
                message: {
                    text: 'This item is in stock!',
                    elementClass: 'frontend-notifications-in-stock'
                }
            }
        }
    }
};