1/*! MUI 2 * https://merchello.com 3 * Copyright (c) 2018 Across the Pond, LLC. 4 * Licensed 5 */ 6 7 8if (MUI !== undefined) { 9 10 // MUI Settings 11 // Allows for overriding MUI defaults 12 MUI.Settings = { 13 14 Defaults: { 15 BillingCountryCode: 'US', 16 ShippingCountryCode: 'US' 17 }, 18 19 Labels: { 20 OutOfStock: 'Out of stock.', 21 22 OutOfStockAllowPurchase: 'Out of stock - Back order available.', 23 24 InStock: 'In stock (@0)' 25 }, 26 27 // API endpoints 28 // These can be adjusted to match custom controllers which implement base classes 29 Endpoints: { 30 // the basket surface controller end point 31 basketSurface: '/umbraco/Merchello/StoreBasket/', 32 33 // the wish list surface controller end point 34 wishListSurface: '/umbraco/Merchello/StoreWishList/', 35 36 // the product table api controller end point 37 productTableApi: '/umbraco/Merchello/ProductDataTableApi/', 38 39 // the braintree surface controller 40 braintreePayPalSurface: '/umbraco/fasttrack/BraintreePayPal/', 41 braintreeStandardCcSurface: '/umbraco/fasttrack/BraintreeStandardCc/', 42 43 // the checkout address surface controller end point 44 countryRegionApi: '/umbraco/Merchello/CountryRegionApi/' 45 }, 46 47 // Notifications - the notification bar 48 Notifications: { 49 // If true, the notification bar will be appended before the </body> tag and notfication 50 // messages will be inserted into the bar 51 enabled: true, 52 53 infoCss: 'alert-info', 54 successCss: 'alert-success', 55 warnCss: 'alert-warning', 56 errorCss: 'alert-danger', 57 58 // the template for the notification bar 59 template: '<div class="alert mui-notify-bar" data-muinotify="notifybar"><div class="container" data-muivalue="nofity">Success</div></div>', 60 61 overlay: '<div class="mui-overlay" data-muinotify="overlay"></div>' 62 }, 63 64 // Payment handlers 65 Payments: { 66 67 cardtemplate: '<span class="pull-right" data-muivalue="cardtype"></span>', 68 okcardtemplate: '[CT] <span class="glyphicon glyphicon-ok"></span>', 69 invalidcardtemplate: '[CT] <span class="glyphicon glyphicon-remove"></span>', 70 71 // if true a button to post the payment (nonce) back to the server to complete the payment. 72 // if false, the payment will be submitted as soon as the nonce is received from braintree 73 braintreePayPalRequiresBtn: false 74 75 } 76 } 77}; 78 79 80
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.