---Presenter: Jesse WebbSubject: How to Manage the Config Setting for CEF to Enable Specific Considerations
Duration: 00:17:38---00:00:05.050 --> 00:00:10.066 - How to manage our app settings to enable specific features and 00:00:10.066 --> 00:00:14.760 - stuff? And how you should be able to troll the properties 00:00:14.760 --> 00:00:19.008 - file an enable things. Even though you might not know in the 00:00:19.008 --> 00:00:21.840 - UI where these things are supposed to be. 00:00:22.650 --> 00:00:25.910 - And how to verify that they are enabled as well, 00:00:25.910 --> 00:00:27.540 - at least via the config? 00:00:28.620 --> 00:00:34.100 - So first we'll start with payment methods. By default the 00:00:34.100 --> 00:00:39.580 - only payment method available enabled is by credit card. To 00:00:39.580 --> 00:00:45.060 - save, the client would rather have several options by invoice 00:00:45.060 --> 00:00:51.088 - or by creating a quote. Well, we can check in A. 00:00:52.130 --> 00:00:58.477 - Specific file Isef config dot properties dot CSS file in the 00:00:58.477 --> 00:01:03.670 - registry loader. JS config's project so will essentially be 00:01:03.670 --> 00:01:10.017 - looking for clarity dot payments dot by now this will give 00:01:10.017 --> 00:01:12.325 - us a lot of. 00:01:13.350 --> 00:01:18.846 - A lot of results, so instead you could write a little regex 00:01:18.846 --> 00:01:23.426 - search that looks for clarity payments by and then whatever, 00:01:23.426 --> 00:01:28.464 - then dot enabled, so you'll notice we have 10. There's 10 00:01:28.464 --> 00:01:29.838 - there's by ACH. 00:01:30.920 --> 00:01:34.940 - There's by credit card, which is default value true. As you can 00:01:34.940 --> 00:01:38.625 - see, whereas the other one was false. There's by invoice, which 00:01:38.625 --> 00:01:40.635 - is false. Let's grab that one. 00:01:42.030 --> 00:01:43.982 - We are going to put it over in 00:01:43.982 --> 00:01:48.964 - our app settings. 1st place to put it will probably be right 00:01:48.964 --> 00:01:52.438 - here in the overwriting values for this environment section 00:01:52.438 --> 00:01:54.368 - keeps everything neat as long 00:01:54.368 --> 00:01:57.805 - as. Other things aren't thrown down in other parts of 00:01:57.805 --> 00:02:00.455 - this file. It makes merging them very easy as well. 00:02:00.455 --> 00:02:01.780 - Again, will grab by invoice. 00:02:04.070 --> 00:02:05.820 - Go ahead and paste that in there. 00:02:07.000 --> 00:02:09.820 - Perfect. Maybe we also want something else though. 00:02:12.770 --> 00:02:14.910 - Let's look for raw. 00:02:17.010 --> 00:02:20.010 - I would like PayPal payoneer outlets clear for quote quote 00:02:20.010 --> 00:02:21.510 - Lee. That's a perfect one. 00:02:22.490 --> 00:02:23.500 - Will do by quote me. 00:02:24.500 --> 00:02:30.550 - Back to our app settings file copy this. Paste it and. 00:02:32.210 --> 00:02:36.539 - Put it right there so we have by quote me and invoice enabled. 00:02:36.539 --> 00:02:40.535 - You would think that you'd be able to go here and just 00:02:40.535 --> 00:02:42.200 - refresh, but these are cash 00:02:42.200 --> 00:02:48.914 - things. In in three places. So first we will go to the. 00:02:49.930 --> 00:02:53.989 - System site maintenance section of admin and in the other tasks 00:02:53.989 --> 00:02:58.048 - tab there is the clear JS config's cash, so you'll click 00:02:58.048 --> 00:03:03.214 - that and you also need to kill the app pool for DN and then 00:03:03.214 --> 00:03:06.535 - whatever the other app pool that's requesting this new 00:03:06.535 --> 00:03:11.332 - setting that you need is. So in this case API storefront such it 00:03:11.332 --> 00:03:15.391 - since it's in purchasing in check out. So I've killed both 00:03:15.391 --> 00:03:20.188 - of those. We are going to go back over to check out and. 00:03:20.320 --> 00:03:21.040 - Refresh. 00:03:22.650 --> 00:03:29.305 - Great way to check the success of your settings before you 00:03:29.305 --> 00:03:34.894 - even. Are able to navigate in the UI to where they are. You 00:03:34.894 --> 00:03:38.601 - can go into the network tab and open the storefront. Min 00:03:38.601 --> 00:03:42.645 - cashed or admin min cashed and you can just throw that open 00:03:42.645 --> 00:03:43.656 - in another window. 00:03:46.000 --> 00:03:52.567 - Just like this, open in new tab, it's definitely cashed, so 00:03:52.567 --> 00:03:59.731 - we're going to look for like bye bye quote me or quote 00:03:59.731 --> 00:04:03.910 - quotes. Let's look for purchasing instead. That's 00:04:03.910 --> 00:04:06.298 - probably better. Yeah, Alright. 00:04:08.860 --> 00:04:10.400 - Purchasing. 00:04:12.650 --> 00:04:19.280 - Boy Maybe it will be easier to just look in the here we go. I 00:04:19.280 --> 00:04:20.820 - see wallet enabled pricing. 00:04:21.420 --> 00:04:24.220 - Kenny, somewhere around here might even just be easier to 00:04:24.220 --> 00:04:27.020 - navigate in the UI. In this specific case anyway, so 00:04:27.020 --> 00:04:28.140 - that's what we'll do. 00:04:29.560 --> 00:04:30.330 - We're gonna. 00:04:31.440 --> 00:04:32.788 - Quick make an address. 00:04:36.600 --> 00:04:38.994 - We actually have the avalara address provider 00:04:38.994 --> 00:04:42.072 - turned off for testing environments so you can put 00:04:42.072 --> 00:04:44.808 - in whatever you'd like. Generally these do get 00:04:44.808 --> 00:04:45.834 - passed through 2. 00:04:48.710 --> 00:04:50.446 - They can verify there actually real though. 00:04:55.970 --> 00:04:56.230 - Oh 00:04:59.460 --> 00:04:59.870 - belly. 00:05:01.400 --> 00:05:05.448 - Yeah, come out the same as billing. Give this a minute. 00:05:08.170 --> 00:05:12.394 - And if that doesn't work, we don't really want to go 00:05:12.394 --> 00:05:16.618 - through the trouble of doing a relapse, so we'll just go 00:05:16.618 --> 00:05:21.226 - ahead and skip forward. So it looks like I got. I got 00:05:21.226 --> 00:05:23.530 - by quote me that one worked. 00:05:24.660 --> 00:05:29.034 - And that implies since I got quote me working. 00:05:29.640 --> 00:05:33.566 - I also should have had by invoice working, so I want to go 00:05:33.566 --> 00:05:37.492 - back and take a look at possibly why I didn't in the properties 00:05:37.492 --> 00:05:39.304 - file we're going to hear again. 00:05:40.070 --> 00:05:41.830 - So it looks like. 00:05:42.930 --> 00:05:46.752 - So log in enabled has to be on. You can hit F-12 and go 00:05:46.752 --> 00:05:50.028 - right to that. By default it is though, and I know we're 00:05:50.028 --> 00:05:51.393 - not turning it off so. 00:05:52.660 --> 00:05:53.030 - And. 00:05:54.770 --> 00:05:58.358 - It login has to be enabled and also invoices have to be 00:05:58.358 --> 00:06:00.750 - enabled. Looks like sales invoices will go there. 00:06:01.340 --> 00:06:04.103 - And by default they are not enabled lovely, so 00:06:04.103 --> 00:06:05.638 - let's turn this back on. 00:06:06.940 --> 00:06:10.153 - Sales invoices dot enabled default value false, so that's 00:06:10.153 --> 00:06:14.080 - just another. Another config thing we have to do. Very often 00:06:14.080 --> 00:06:18.007 - you'll find that's true that to have one setting depends on 00:06:18.007 --> 00:06:22.291 - another, so it's it's really good to look at those before you 00:06:22.291 --> 00:06:26.575 - get to the step of actually adding them to save all the 00:06:26.575 --> 00:06:31.216 - time, but I figured I would show that anyway, so we will enable 00:06:31.216 --> 00:06:34.429 - invoices and by Invoice and these same steps for. 00:06:35.240 --> 00:06:37.826 - We will clear the config's cash. 00:06:40.310 --> 00:06:42.120 - Kill the. 00:06:43.390 --> 00:06:46.090 - DNN and API storefront. 00:06:47.430 --> 00:06:51.174 - And go back to our front end and reload. 00:07:11.410 --> 00:07:15.278 - Perfect. Looks like our configuration has returned. 00:07:17.710 --> 00:07:19.210 - Go ahead and do an address. 00:07:33.510 --> 00:07:39.740 - Wondering if the shipping estimator just needed a real zip 00:07:39.740 --> 00:07:42.232 - code that is my. 00:07:43.090 --> 00:07:44.450 - No idea on it there. 00:07:46.230 --> 00:07:49.211 - Yeah, that's what it was. Just need a real zip code. 00:07:49.211 --> 00:07:51.650 - Great, so after here continuing to payment I got 00:07:51.650 --> 00:07:54.902 - invoice as well. Perfect had a good way to tell if you 00:07:54.902 --> 00:07:56.799 - actually had invoices enabled. Would be too. 00:07:57.930 --> 00:08:00.608 - You'll be able to go to your dashboard and see it over there. 00:08:01.290 --> 00:08:05.294 - Uh, and sure enough, here we are. We have invoices, don't 00:08:05.294 --> 00:08:06.750 - have quotes. Interesting Lee. 00:08:09.070 --> 00:08:12.060 - Which that actually tells me. 00:08:12.790 --> 00:08:17.638 - That even though we got quotes to be enabled here, we're not 00:08:17.638 --> 00:08:22.082 - going to be able to see them in the dashboard, which. 00:08:23.100 --> 00:08:25.248 - We need to address that so. 00:08:26.640 --> 00:08:29.225 - By having it will take a look at by quote me. 00:08:30.260 --> 00:08:35.216 - We have all of its requirements. It looks like it's not dependent 00:08:35.216 --> 00:08:39.346 - on anything else, so it's probably best that we just 00:08:39.346 --> 00:08:44.302 - enable quotes so the user can see them, so will look for 00:08:44.302 --> 00:08:48.019 - quotes. There's probably a region, so look for region. 00:08:51.750 --> 00:08:54.450 - Whoa, yeah. 00:08:56.810 --> 00:08:58.600 - Sales quote. 00:08:59.850 --> 00:09:03.964 - Sales quotes out there we go. You look for region sales 00:09:03.964 --> 00:09:08.826 - quotes. It looks to me like the feature set sales quotes is not 00:09:08.826 --> 00:09:12.940 - enabled. Notice here. We also have a split shipping is not 00:09:12.940 --> 00:09:17.054 - enabled or that has to be enabled. Simple check there real 00:09:17.054 --> 00:09:19.532 - quick. First, let's get this 00:09:19.532 --> 00:09:21.650 - down here. No. 00:09:22.840 --> 00:09:25.510 - Let's look for split shipping enabled. 00:09:26.900 --> 00:09:32.084 - So that's default false as well, but it needs shipping to be 00:09:32.084 --> 00:09:37.268 - enabled, which is default true. So that is just fine. Let's grab 00:09:37.268 --> 00:09:42.020 - our shipping split since we know that is a requirement for. 00:09:42.760 --> 00:09:45.290 - Sales quotes. And. 00:09:46.080 --> 00:09:47.049 - Let's get them. 00:09:49.500 --> 00:09:50.520 - It failed. 00:10:03.780 --> 00:10:10.300 - Eva. Process first, insulate over on your admin side. Clear 00:10:10.300 --> 00:10:12.070 - the config cache. 00:10:18.450 --> 00:10:20.710 - Well, that's working. We will. 00:10:21.420 --> 00:10:24.546 - Kill the DNN and API storefront. 00:10:25.870 --> 00:10:29.190 - And refresh them right here. Refresh the dashboard 00:10:29.190 --> 00:10:30.435 - and the checkout. 00:10:33.360 --> 00:10:36.033 - We already know our checkout payment options are working, 00:10:36.033 --> 00:10:39.003 - so we'll make sure we're just getting our quote options 00:10:39.003 --> 00:10:39.894 - working over here. 00:10:42.430 --> 00:10:45.510 - That about covers it beyond specific, specific 00:10:45.510 --> 00:10:49.910 - settings. That's more of an in general way of finding 00:10:49.910 --> 00:10:54.310 - the settings you need. Say you're given a list for 00:10:54.310 --> 00:10:57.390 - these various payment options. That's what we've 00:10:57.390 --> 00:11:01.790 - just done. Say we want to enable a language selector 00:11:01.790 --> 00:11:05.750 - because we do have a whole system of translation's 00:11:05.750 --> 00:11:07.510 - meant for that, so. 00:11:08.550 --> 00:11:09.943 - Here you see we have boats, so 00:11:09.943 --> 00:11:14.366 - there we go. Perfect we'll we'll want to enable a 00:11:14.366 --> 00:11:18.038 - language selector, then now it said multilingual is what 00:11:18.038 --> 00:11:21.710 - you were told. So I guess look for multilingual. 00:11:24.460 --> 00:11:27.316 - There's multi but just multi multi currency is 00:11:27.316 --> 00:11:29.101 - all I see, so lingual. 00:11:30.460 --> 00:11:35.236 - You don't have that either. So language I guess. Look for that. 00:11:35.236 --> 00:11:39.614 - I got a couple of languages uploads dot language. Not really 00:11:39.614 --> 00:11:43.594 - what we're thinking of. Ah perfect. It's a feature set 00:11:43.594 --> 00:11:46.380 - that's probably exactly what we're looking for. 00:11:47.710 --> 00:11:51.706 - A feature set dot languages dot enabled and default is false, so 00:11:51.706 --> 00:11:53.704 - let's let's go turn it on. 00:12:00.960 --> 00:12:03.000 - Perfect, same deal. 00:12:03.610 --> 00:12:04.830 - Clear this. 00:12:06.460 --> 00:12:07.210 - Kill. 00:12:08.770 --> 00:12:11.470 - DNN and API storefront. 00:12:13.090 --> 00:12:14.260 - And. 00:12:15.960 --> 00:12:17.620 - Refreshing. So. 00:12:18.670 --> 00:12:21.982 - It didn't look to me while we were looking at the properties 00:12:21.982 --> 00:12:23.086 - file that anything else 00:12:23.086 --> 00:12:27.416 - depended. On that see, it's just whether it's 00:12:27.416 --> 00:12:30.622 - enabled or not. No dependencies like this, 00:12:30.622 --> 00:12:31.996 - for example so. 00:12:33.660 --> 00:12:37.026 - Wherever that is in the UI, we should be seeing a 00:12:37.026 --> 00:12:37.638 - language selector. 00:12:39.260 --> 00:12:40.470 - Sure enough, here we are. 00:12:41.470 --> 00:12:45.370 - Looks like this is just a missing translation. It would 00:12:45.370 --> 00:12:49.270 - probably just say select or something, but looks like we 00:12:49.270 --> 00:12:50.830 - have a whole list. 00:12:51.700 --> 00:12:54.934 - And if you're curious as to where it's getting this whole 00:12:54.934 --> 00:12:59.344 - list, I bet that is. That's a key in here as well. I think we 00:12:59.344 --> 00:13:00.520 - actually even saw it. 00:13:04.010 --> 00:13:07.502 - Yeah, this is what I was looking at, but no, but they 00:13:07.502 --> 00:13:10.121 - must be coming from from maybe the database or 00:13:10.121 --> 00:13:12.740 - something. It doesn't really matter. Point is is that 00:13:12.740 --> 00:13:13.904 - there's multilingual turned on. 00:13:15.650 --> 00:13:17.636 - You will very often be given. 00:13:20.020 --> 00:13:22.332 - Essentially something like this. It doesn't directly correspond, 00:13:22.332 --> 00:13:25.511 - but you should be able to find what they're talking about. 00:13:26.180 --> 00:13:30.550 - Uh, well we did our various payment methods or multi 00:13:30.550 --> 00:13:32.735 - language multi store. That's an 00:13:32.735 --> 00:13:37.138 - interesting one. So we'll go back to our properties file, 00:13:37.138 --> 00:13:41.290 - look for, look for store. There's going to be a lot of 00:13:41.290 --> 00:13:44.404 - that. Maybe stores is a lot less of that. 00:13:46.220 --> 00:13:50.610 - Stores enabled that really looks like what we're looking for. 00:13:51.840 --> 00:13:54.783 - And default value is false excellence, and it doesn't 00:13:54.783 --> 00:13:55.764 - have any Reese. 00:13:57.310 --> 00:14:00.709 - Requirements so will just enable this over in the app settings. 00:14:11.180 --> 00:14:18.128 - What else might we need? See, look for other things that are 00:14:18.128 --> 00:14:21.023 - stores, stores dot site domains. 00:14:22.570 --> 00:14:23.030 - It's. 00:14:24.500 --> 00:14:26.240 - This store stock. 00:14:26.870 --> 00:14:32.477 - Images past stores? OK, that's probably fine. Let's let's 00:14:32.477 --> 00:14:36.890 - enable this. They did you use for my store admin? That seems 00:14:36.890 --> 00:14:40.205 - like something we want easy to turn off anyway. If we don't so. 00:14:45.370 --> 00:14:45.910 - Perfect. 00:14:47.980 --> 00:14:52.958 - Same deal. Simple as can be. Just kill your cash here. 00:14:54.120 --> 00:14:57.552 - And in the task manager kill 00:14:57.552 --> 00:15:01.290 - DNN. And API dash storefront. 'cause That's what's going to be 00:15:01.290 --> 00:15:04.690 - requesting it. And I wonder, wonder if it's 00:15:04.690 --> 00:15:06.010 - here on the dashboard. 00:15:08.720 --> 00:15:10.853 - Maybe there was another property that would have given 00:15:10.853 --> 00:15:12.275 - us a dashboard path for that. 00:15:14.080 --> 00:15:15.250 - Your dashboard. 00:15:26.510 --> 00:15:27.080 - There we go. 00:15:29.580 --> 00:15:31.524 - Right here is where we want to look for. 00:15:32.570 --> 00:15:38.108 - So, uh, dashboard dot route. So what if there is a dashboard dot 00:15:38.108 --> 00:15:39.812 - Route 4 stores possibly? 00:15:41.300 --> 00:15:42.820 - Sometimes it's alphabetize so. 00:15:44.340 --> 00:15:49.182 - And I got shopping lists, custom routes, wish lists. 00:15:50.650 --> 00:15:53.410 - Let's look for dot store OK. 00:15:55.540 --> 00:15:58.740 - This is different. We got buyer and seller. 00:16:00.290 --> 00:16:01.826 - Gotta log into DN for that. 00:16:02.720 --> 00:16:06.870 - That's me just tells me that it's just an incomplete. 00:16:08.030 --> 00:16:11.526 - Incomplete skin, there's a. That's probably just a 00:16:11.526 --> 00:16:15.022 - unfinished feature point is is multi story is. 00:16:15.830 --> 00:16:20.090 - Enabled this setting that determines that is is turned on. 00:16:23.320 --> 00:16:27.266 - Yeah. Alright, well that's just turning the setting on. 00:16:27.266 --> 00:16:29.228 - Everything else is to get it. 00:16:29.960 --> 00:16:34.060 - Looking right would be something else, right? Split shipping. We 00:16:34.060 --> 00:16:38.160 - actually we actually did that earlier. That was an example 00:16:38.160 --> 00:16:42.260 - underneath the various payment methods because we need to split 00:16:42.260 --> 00:16:43.490 - shipping for invoices. 00:16:45.010 --> 00:16:45.990 - And. 00:16:47.000 --> 00:16:51.764 - Anyway, that's how fast it is to enable or disable settings. It's 00:16:51.764 --> 00:16:56.131 - all in solution items slash app settings dot config in the 00:16:56.131 --> 00:17:00.895 - overriding section, and you can find a list of most of the 00:17:00.895 --> 00:17:04.468 - properties, some that aren't relevant to the storefront, as 00:17:04.468 --> 00:17:09.629 - in JS config's are not going to be here. There are plenty of 00:17:09.629 --> 00:17:13.996 - other apps settings, there are only relevant to the back end. 00:17:13.996 --> 00:17:17.966 - For example, pretty much all of these emails and notifications 00:17:17.966 --> 00:17:22.350 - and stuff. Those are all called by the email. The email builder 00:17:22.350 --> 00:17:27.208 - in the back end, so you won't find an example of these in the 00:17:27.208 --> 00:17:31.025 - ceph config dot properties file 'cause none of it actually ever 00:17:31.025 --> 00:17:32.760 - has to go to JavaScript. 00:17:33.700 --> 00:17:37.076 - For front end stuff though, that's the process.