1 00:00:01,430 --> 00:00:02,060 Welcome back. 2 00:00:02,540 --> 00:00:05,960 Now, what we need to do is that we need to display here the total amount. 3 00:00:06,410 --> 00:00:12,320 And work on this for let's first display the total amount to remind the user with the total amount of 4 00:00:12,320 --> 00:00:16,130 the of the products that they want to pay for. 5 00:00:16,700 --> 00:00:23,120 So here in the check out, I'm going to say, yep, I'm going to use paragraph and then above the button 6 00:00:23,540 --> 00:00:25,760 just above this place order button. 7 00:00:26,180 --> 00:00:29,540 I'm going to display I'm going to see the total amount. 8 00:00:30,440 --> 00:00:31,400 And then I'm going to say. 9 00:00:32,630 --> 00:00:33,500 Dollar sign. 10 00:00:34,010 --> 00:00:35,150 And then I'm going to use speech. 11 00:00:35,330 --> 00:00:36,080 I'm going to say here. 12 00:00:37,430 --> 00:00:38,090 BHP. 13 00:00:39,040 --> 00:00:40,840 And then echo. 14 00:00:41,710 --> 00:00:43,000 And then session. 15 00:00:44,050 --> 00:00:44,650 Session. 16 00:00:46,880 --> 00:00:51,830 And then remember the key that stores the total amount. 17 00:00:53,180 --> 00:00:54,380 Once you get it in the car. 18 00:00:54,650 --> 00:00:55,130 In the car. 19 00:00:55,190 --> 00:01:02,690 Remember here in the car, we have a function that calls the the that calculate calculate the calculates 20 00:01:02,690 --> 00:01:06,260 the total car total amount, which is this function. 21 00:01:06,260 --> 00:01:10,970 And then it stores the total amount in a key call total. 22 00:01:11,420 --> 00:01:15,860 So here in this check out, we can say session total. 23 00:01:16,640 --> 00:01:20,990 This is going to display the total amount above the modern limits. 24 00:01:21,020 --> 00:01:22,820 Now, let me here refresh. 25 00:01:23,780 --> 00:01:29,090 And as you can see, it's going to display the total amount just above the button, which is important 26 00:01:29,090 --> 00:01:34,010 because you need to remind the user with this amount that they need to pay. 27 00:01:34,640 --> 00:01:38,510 So if you go back and test one more time, let me add another product. 28 00:01:40,900 --> 00:01:41,920 So I'm going to increase here. 29 00:01:41,920 --> 00:01:43,600 I'm going to say two and then I'm going to update. 30 00:01:44,170 --> 00:01:45,970 And now the total is 310. 31 00:01:46,870 --> 00:01:48,480 And here it is, 310. 32 00:01:48,910 --> 00:01:52,660 So this is going to display the total here above the button, which is very, very important.