1 00:00:00,930 --> 00:00:01,620 Welcome back. 2 00:00:02,040 --> 00:00:07,050 Now, what I'm going to do is that I'm going to take the user to the payment page after they have placed 3 00:00:07,050 --> 00:00:07,530 an order. 4 00:00:07,950 --> 00:00:13,650 So, for example, if I place an order, as I have shown you earlier, if you place an order and complete 5 00:00:13,650 --> 00:00:14,220 the order. 6 00:00:14,850 --> 00:00:21,570 What we want to do is that we want to do to display the payment page, because this is going to place 7 00:00:21,570 --> 00:00:29,010 the order and it's going to inform us as the owner of the business that somebody has placed an order. 8 00:00:29,310 --> 00:00:34,860 But in order for us to start shipping the order, we need to get the payment. 9 00:00:34,860 --> 00:00:41,610 So we need to tell the user to complete the payment so that we start the process of sending the the 10 00:00:41,640 --> 00:00:44,460 product or products to the customer. 11 00:00:45,660 --> 00:00:47,160 So let's start working on this. 12 00:00:48,220 --> 00:00:55,510 And also, by the way, we need to activate this button, which which takes the user to the to the cartridge. 13 00:00:55,540 --> 00:00:56,610 This is very important. 14 00:00:56,620 --> 00:00:58,690 And let me show you what I'm going to do first. 15 00:00:59,200 --> 00:01:02,110 So the first thing that I'm going to do is that I'm going to open up the index. 16 00:01:02,620 --> 00:01:05,610 And in the index, let me activate this button. 17 00:01:05,620 --> 00:01:12,040 So we have here in the in the top in the navigation bar. 18 00:01:12,670 --> 00:01:13,930 Let me here say. 19 00:01:15,470 --> 00:01:22,370 Let me use a shopping go to this shopping icon. 20 00:01:22,370 --> 00:01:24,560 I'm going to say cart that B2B. 21 00:01:25,460 --> 00:01:27,450 So this we're going to take the user to the card. 22 00:01:28,370 --> 00:01:37,940 However, the problem is that in the car that BHP we need to remove a code that will that would always 23 00:01:37,940 --> 00:01:39,800 prevent the user from entering that webpage. 24 00:01:40,190 --> 00:01:42,530 So this, this line of code, I'm going to call me this out. 25 00:01:43,100 --> 00:01:46,670 This is optional if you don't want the user to enter the cart page. 26 00:01:46,670 --> 00:01:51,660 If they, if they if they have not clicked. 27 00:01:51,680 --> 00:01:56,000 If they have not added anything to the cart, you need to uncomment this. 28 00:01:56,000 --> 00:02:00,830 If you want users to access the cart page anyways, you can here. 29 00:02:02,180 --> 00:02:02,990 Uncomment this. 30 00:02:03,620 --> 00:02:07,360 So I'm going to go on I'm going to me this and show you what's going to happen now. 31 00:02:07,850 --> 00:02:09,110 Let me go to the home page. 32 00:02:09,860 --> 00:02:15,260 And in the home page, what I'm going to do is that I'm going to click on the cart and this is going 33 00:02:15,260 --> 00:02:17,330 to take me to the cart and they having a problem. 34 00:02:17,330 --> 00:02:18,470 Let me refresh first. 35 00:02:19,740 --> 00:02:25,380 So now if I click on the cart again, as you can see, it's going to take me to the cart. 36 00:02:25,380 --> 00:02:33,210 And even if I remove this item from the cart, and if I go to the homepage and if I click, let me go 37 00:02:33,210 --> 00:02:42,210 through the homepage, and if I click on a cart on the cart icon, it's going to take me to the cart 38 00:02:42,480 --> 00:02:45,000 page, but they will not be able to check out. 39 00:02:45,270 --> 00:02:54,390 This is the layer of protection that they have added to do this to the checkout page. 40 00:02:54,930 --> 00:03:00,000 So another thing that I'm going to be working on before working on the payment page is the. 41 00:03:01,120 --> 00:03:02,410 Navigation bar here. 42 00:03:02,890 --> 00:03:07,930 So the navigation bar, we we have a here in the. 43 00:03:12,560 --> 00:03:13,190 Shop here. 44 00:03:13,190 --> 00:03:18,770 If you go to the if you go to the cart, the homepage is going to war is not going to work. 45 00:03:18,770 --> 00:03:20,270 So we need to fix this as well. 46 00:03:20,840 --> 00:03:27,680 So I, I want you to work on this because this is very simple and consider this your homework. 47 00:03:28,430 --> 00:03:31,960 So I want you to work on this very simple. 48 00:03:31,970 --> 00:03:37,460 All you need to do is that you need to open up the navigation bar of each page and change the you want. 49 00:03:37,640 --> 00:03:45,560 So, for example, here in the cart, in the bag, in the shopping bag icon, I want you to add a tag 50 00:03:46,160 --> 00:03:49,490 and I want you to surround this a I with attack. 51 00:03:50,480 --> 00:04:00,170 And they want you to add a trace here that's going to say cart that which is the same page and for the 52 00:04:00,170 --> 00:04:02,450 home we need to say index start BHP. 53 00:04:05,160 --> 00:04:06,960 And they want you to repeat. 54 00:04:07,350 --> 00:04:09,090 I want you to do this to all pages. 55 00:04:09,100 --> 00:04:10,980 So this consider this as your. 56 00:04:12,230 --> 00:04:12,750 Homework. 57 00:04:13,670 --> 00:04:14,270 Let me save. 58 00:04:14,270 --> 00:04:15,350 And we are getting.