1 00:00:00,630 --> 00:00:02,700 Else I'm going to say you're Heather. 2 00:00:04,050 --> 00:00:09,570 Heather, and then I'm going to take the user to the account page back location. 3 00:00:09,570 --> 00:00:14,100 I'm going to take the user back to the account page because there is no product. 4 00:00:14,910 --> 00:00:19,380 And then I'm going to see exit and here we need to create a loop. 5 00:00:20,040 --> 00:00:22,800 So here we need to say B2B. 6 00:00:22,800 --> 00:00:24,960 And then while. 7 00:00:27,920 --> 00:00:29,840 And they opened the rock and just opened it. 8 00:00:30,710 --> 00:00:39,980 And the year I'm going to say role is equal to order details, fetch a sauce. 9 00:00:41,420 --> 00:00:44,180 And then at the bottom here, we need to close this. 10 00:00:45,110 --> 00:00:48,800 We need to hear here. 11 00:00:49,340 --> 00:00:50,330 We need to see. 12 00:00:52,430 --> 00:00:53,750 Actually be like this. 13 00:01:02,340 --> 00:01:02,610 Here. 14 00:01:02,610 --> 00:01:03,840 We need to close the beach. 15 00:01:03,990 --> 00:01:07,260 We need to save BHP and then we need to close the killing racket. 16 00:01:07,980 --> 00:01:10,300 And in between, we need to display the image. 17 00:01:10,350 --> 00:01:12,270 Remember that you could split display the image. 18 00:01:12,270 --> 00:01:20,460 So I'm going to remove this and then I'm going to say P and then Echo Raw. 19 00:01:22,470 --> 00:01:23,310 And then. 20 00:01:24,720 --> 00:01:25,330 Order! 21 00:01:25,650 --> 00:01:25,990 Order! 22 00:01:26,130 --> 00:01:26,850 Which I think. 23 00:01:28,140 --> 00:01:30,630 Product image, we have the product image. 24 00:01:31,260 --> 00:01:36,360 So if a database, particularly database, you will find that we have the column in the order stable 25 00:01:36,360 --> 00:01:39,240 in the order items, not the orders and the order items. 26 00:01:39,630 --> 00:01:51,030 In the order items we have the product image so we can use a product underscore image and we need also 27 00:01:51,030 --> 00:01:53,130 to display the product name here. 28 00:01:56,700 --> 00:02:04,470 BHP and then echo recall call product name. 29 00:02:08,460 --> 00:02:10,530 And then don't forget the semicolon. 30 00:02:10,680 --> 00:02:12,360 And here also don't forget the semicolon. 31 00:02:12,750 --> 00:02:15,990 Limi copy this line because I'm going to be using it a lot here. 32 00:02:16,620 --> 00:02:17,850 Actually not a lot. 33 00:02:17,850 --> 00:02:18,720 A couple of times. 34 00:02:19,260 --> 00:02:23,670 Anyways, limit copy it and then limit pieces here and here. 35 00:02:23,970 --> 00:02:24,960 We need to say product. 36 00:02:25,890 --> 00:02:27,660 The third thing is the product price. 37 00:02:28,830 --> 00:02:29,880 Product price. 38 00:02:29,880 --> 00:02:33,930 And then lastly, the product quantity product. 39 00:02:37,590 --> 00:02:38,910 Quantity. 40 00:02:41,220 --> 00:02:46,650 And for security reasons, it's better to use a POS request in the account here. 41 00:02:46,650 --> 00:02:52,890 I said that we could use the get here, we could use it again and that's fine. 42 00:02:52,890 --> 00:02:57,360 But if you want extra security, it's better to say POS. 43 00:02:57,360 --> 00:02:58,530 So it's up to you. 44 00:02:59,310 --> 00:03:00,150 It's up to you. 45 00:03:00,150 --> 00:03:06,960 You can usually get all the POS, let's try the POS first and then you can go back to the to the get 46 00:03:07,440 --> 00:03:18,270 they get is easier in terms of getting the data, but for extra protection the post is better and here 47 00:03:18,270 --> 00:03:20,400 it must be most. 48 00:03:22,220 --> 00:03:22,640 Lenny. 49 00:03:22,640 --> 00:03:25,670 Now save and let's head on over to the browser and test. 50 00:03:29,160 --> 00:03:32,400 So now in the browser, the first thing that I'm going to do is that I'm going to log in, I'm going 51 00:03:32,400 --> 00:03:37,620 to go to my account, I'm going to say log in that HP and leave me log in. 52 00:03:45,060 --> 00:03:51,330 So if I click on log in, I will be taken to my account and let's click on details of this product, 53 00:03:51,330 --> 00:03:52,590 of this order. 54 00:03:52,980 --> 00:03:55,320 And as you can see, I will get the details. 55 00:03:55,320 --> 00:04:05,310 And these products are correct because in the in the remember in the order table, order number five 56 00:04:05,310 --> 00:04:08,190 has two products, white shoes and black back. 57 00:04:08,190 --> 00:04:08,870 And that's correct. 58 00:04:08,880 --> 00:04:10,050 Why choose a black book? 59 00:04:10,680 --> 00:04:12,840 Lastly, we need to delete these buttons. 60 00:04:12,840 --> 00:04:14,400 We don't need these buttons, actually. 61 00:04:15,060 --> 00:04:18,090 So in the order details, I'm going to delete these two buttons. 62 00:04:20,250 --> 00:04:21,460 I'm going to delete this. 63 00:04:21,530 --> 00:04:23,190 Actually, I'm going to believe this completely. 64 00:04:23,850 --> 00:04:25,290 And I'm going to center. 65 00:04:26,380 --> 00:04:26,710 Here. 66 00:04:26,860 --> 00:04:32,410 This, this, this, this table. 67 00:04:32,410 --> 00:04:34,330 I'm going to say an X or. 68 00:04:36,550 --> 00:04:37,630 Let me refresh. 69 00:04:42,480 --> 00:04:44,090 And as you can see now, it looks amazing. 70 00:04:44,100 --> 00:04:47,640 We have the product, we have the price and we have the quantity. 71 00:04:47,640 --> 00:04:49,830 And of course, you can display the dollar sign here. 72 00:04:50,800 --> 00:04:52,480 You can display the dollar sign. 73 00:04:52,480 --> 00:04:52,900 Just. 74 00:04:53,930 --> 00:04:55,650 Be for the product. 75 00:04:56,160 --> 00:04:57,960 And now it's going to look amazing. 76 00:04:57,960 --> 00:05:02,820 And the user will be able to check any order details so that they.