Это видео недоступно.
Сожалеем об этом.
Shopping Cart in PHP - Part 3 (Final) | Customer order placement | Display customer orders
HTML-код
- Опубликовано: 18 апр 2021
- #shoppingcartwithcheckoutphp #shoppingcartinphp #displaycustomerorders
In this video, I have discussed the checkout part of the shopping cart i.e. you will learn how the customer can place an order. After placing the order I had displayed customer orders in Admin Panel.
Topics covered:
1) Customer Order Placement (Checkout Part)
2) Display Customer Orders in Admin Panel
Video of Admin Panel used:
• Secure Admin Login Pag...
Shopping Cart in PHP with Admin Panel (Playlist):
• Shopping Cart in PHP w...
Source code:
store.tjwebdev...
If any query, mail me on: ask.tjwebdev@gmail.com
------------------------------------------------------------------------------------
Complete AJAX Tutorial:
• Complete AJAX Tutorial...
Crud Operation In PHP and MySQL:
• Crud Operation In PHP ...
Complete JSON Tutorial:
• JSON Course
Real-Time Chat Application using node js and socket io:
• Realtime Chat Applicat...
Referral System using PHP and MySQL:
• Referral System using ...
Complete SASS Tutorial:
• SASS Tutorial in Hindi...
Send Emails in PHP using Gmail & PHPMailer:
• Send email in PHP usin...
User Login and Registration System with Email Verification and forgot password in PHP:
• User Login and Registr...
Upload Image / File using PHP & MySQL:
• Upload image in PHP My...
Admin Login page in PHP MySQL:
• Admin Login & Logout P...
JavaScript Validations:
• Validation in JavaScript
I am beginner to develop a website and i gettin so much trouble during developing, but with ur help i know much about web development, Thankyou so much sir
I have not created 2 tables, instead user order details are captured as JSON and stored in one field of TEXT nature, that worked speedy for me and very easy to show in admin section
After searching so many videos for solving my errors , i didn't find anything. But this series helped me alot. Thanku very much!
My error also.....
All three videos were SO helpful! I don't even speak hindi but you did a great job. Thank you so much :)
Welcome ❤️
Thanks this is helpful .. searched entire youtube for storing orders in databse and in admin panel..but nothing was usefull..
But This video is best 👍
Welcome ❤️
Thanku sir
Aap ke video se mera problem kaafi sahi ho gya.
Great to know🥰
Love from Bangladesh❤❤. Add a prepay method please 🙏🙏.
Thank you so much bro! even though I didn't understand your language but I did learn what you are doing :D Keep going!
Nice bro full support
Please add online payment options on this project
plz make more videos on making admin panel. add product and a lot of things. thanks. Allah apko kamiyab kare.
Tq so much bro..
Life saver always.. 😀
Welcome
Thank u sir it’s very helpful in my project 😊
bro how to get the grand total price. in admin panel
Very helpful thanks 👍
Thanks a lot from Bangladesh.
Thanks Alot bro i appreciate you afford. Keep it up Good Job
Very helpful
bro u are amazing u teach behind the PHP
❤️
When u upload complete shopping card next video
Bhai ek video aur banao jisme hum jo bhi items select kare aur saath me us product ka image bhi saath aaye
Thanks for the video its very much helpful me bcoz i do work on this concept
Great to know
notice:Undefined index:$Quantity in c:\path\purchase.php on line 31 plz solve this error
One thing is missing Total bill amt in the admin panel how to show that
Thanks bro, 🤗 it. Is useful 4 me
how to save total and grand total to database i am not able to solve this please reply or make video on this as next part
I created the database and followed the same steps, but when the make purchase is clicked, nothing is happenning??
Why is that so?I followed the same procedure..Maybe the database is not connected.Can u please help
just starting on my code work , will give you honest feedback if are my game changer
Sure😊
Sir, I want to buy source code, but in your website I am not able to buy it.Please do something to provide me this source code.
How to include the gtotal in the purchase query to insert in the database?
hello sir user fetch is not working in second table
sir isme product me agar foren key use karni ho to kese kar saket hay
thnx 😊
Parse error: syntax error, unexpected 'foreach' (T_FOREACH) in C:\xampp\htdocs\shop\purchase.php on line 27
plz solve this error foreach
order placed is not working for me it is going to the else part
Bro order details database meh kaysay store karay... product sales kitna huwa on a daily, monthly and annual basis wobhi both admin panel peh aur database mehvi kaysay store karay woska vhi video banaiiyena...Would be of great help. Thank you.
Thank you 🙏
You’re welcome 😊
bro pls ans grand total to database me kese store kr skta hu me
and whenever iam trying to login its just refreshing it netiher showing it error nor its redirecting to admin panel page
And please ek full video online payment method pr zaroor upload kro
I am facing error that uncaught mysqli error Order_Id cannot be null in purchase.php file
how i can insert total price in order_manager table ?
Hello bro, mene cart items tables me add ki he or sabhi items ko order table me kese dale using prepared statement
Jaldi karna collage project ki deadline close he.
Bro how can i see customer orders details with their customized product showing full picture ??
Thanks 🙏
Thank you
Bhai backend ki update ki query lgakr bhi to dikhao
why its still adding even though I have reduced the quantity?
What about insert into database
thanks
bro
plss help me this error
Fatal error: Uncaught TypeError: Unsupported operand types: string + int in C:\xampp\htdocs\Project\addtocart\mycart.php:37 Stack trace: #0 {main} thrown in C:\xampp\htdocs\Project\addtocart\mycart.php on line 37
How to make product size and color and minus them from product qty thanks in advance
Uncaught mysqli_sql_exception: Column 'Price' cannot be null
How to show grand total of the products to the admin panel
Can customer can see his previous orders as well ...?
bhai agar jis i'd se hmne login kiya hai osi ka my order show krana ho to kaese kre
By learning the basics of sql and php. Simple 😬
Thank you very much. I have followed your videos, everything was completed well. A small query; whenever adding the item to the cart, each time page is refreshing and moving to the top of the page, again we have to come down to add another product. how to overcome this problem.
Then you will need to apply ajax in your website
I want to insert the gtotal in the table how?
when u make complete series add to card waiting
Will the orders in the admin panel get refreshed after closing the browser?
these are saved always in database, unless otherwise yuo delete
Hi, how to add currency type (Example: Rs.500) before the total and subtotal values
A simple way to do it is, just to concatenate the currency you want to use before the grand total in the javascript file i.e: "Rs"+gt; Here the "+" sign means concatenation, not addition.
Sir I'm getting error in admin panel file on line 95 please help me out
In admin panel getting errors like order I'd undeclared
Mail me your codes I'll help u
thanks sir for this but I can't apply ajax on this please would you make videos on applying ajax on this code.
I can help you out to to apply ajax. You can contact me on insta tj_webdev
@@tj_webdev ok thanks sir
and I dont know whats the error
AND HOW TO UPLOAD ??
waiting bro make next video
Hi! Thanks a lot for the video. I have a problem with purchase.php in query1. It tells me something is wrong with a "_"
U can mail me your codes I'll help u
hi sir database mai price null aa rahi hain uska kya solution hai
sir i changed the on change value to this.form.submit and the price stopped changing with increase in quantity
Mail me your codee I'll debug it
Pls display the Admin Login.php coding , cannot understood that
add to cart img
what doew isii mean??
Instead of inserting each product detail, can we get the product details from the localhost database?
Yes
you removed subTotal() from onchange' ' but how the function subTotal() is working???????? while it is in javascript.
It is called in script tag on bottom to find total and grand total
@@tj_webdev will the script run everytime the page runs? function should be called in on change. it seems to be a magic to me that it is working. :)
No the function is called at very bottom after the function definition
am really having same issue the quantity modifies but price won't change
Payment gateway ke sath ye project done kariye plz
Next part plz bro harry ap
please share the admin panel link
Sir, I have more than one pages in my website and if I add item from another pages then, after item added it will redirect to index page instead of staying on the particular page that I have add item from.
Help me please !
Managecart.php me jahaa par aapne index.pjp pe re-Direct karaya hai uski jagha ye code likh dijiye:
window.history.back();
Problem solved sir
Thanks for the help
Mere problem he ki apne jo quantity badha ke page refresh karte he na to aisa undefined index ata he 'Item_Name' me in managecart.php file me mene check kiya name to 'Item_Name' hi diya he phir bhi aisa a raha he
help me
Files mail kr do aap ham debug kr denge
@@tj_webdev okay check mail apko bheja he
Ohk I'll check n respond u soon👍🏻
Sorry but I didn't received ur mail... ask.tjwebdev@gmail.com
This is the email where u have to send mail
@@tj_webdev ok wait
How to send total & grand total data in php
Did you found any solution??
'$query1' ke bad jo 'if' diya ha , uska liya error a raha ha "syntax error, unexpected 'if'( T_IF)"
Wait raat se pahle deubg krke resend krte h
@@tj_webdev ok thank you
Aur admin login & panel ye compalsary he karvana database me ? mereko mini project ke liye submit karna he to admin bina chalega ? sirf order placed database me karege to chalega ?
help me
No i don't think that ye shi hai. Becoz order display admin end par he hota h to admin end banana zaroori h👍🏻
@@tj_webdev okay thank you
ha lekin jo apne admin login vala table banaya he vo jo apke dusre video me banaya tha to isme vo kese add karege ?
U just have to create a table in the database with name admin_login and add two fields, one for admin name another for admin password... 👍🏻
Does it work for multi-users can order at the same time ?
Yes of course
sir,
I am really thankful for you, I finally made this project successfully, but at the end I am getting a trouble showing:
Warning: Cannot modify header information - headers already sent by (output started at C:\xamp1\htdocs\shopcartnw\Admin Panel.php:92) in C:\xamp1\htdocs\shopcartnw\Admin Panel.php on line 116
I request you to suggest me solution,
Thanking you
Mail me your admin panel.php file... I'll check it
@@tj_webdev thank you sir
Sir jub ham multiple products add karty hy to sirf 1 he product add hota hy database me ap k batay hute method se plz ye problem solve kary
Mail me your codes
@@tj_webdev ok sir
@@tj_webdev sir, same problem occurs for my code also, plzz help
@@rajdeshmukh1526 did you found any solution?
@@isharibadiya7185
if (isset($_POST['add-to-cart'])) {
$bname=$_POST['book_name'];
$bprice=$_POST['book_price'];
$bquantity=$_POST['Quantity']; $check=array_column($_SESSION['cart'],'BookName');
if (in_array($bname, $check)) {
echo "alert('Book already added'); window.location.href='cart.php';";
} else {
$_SESSION['cart'][]=array('BookName'=>$bname, 'Price'=>$bprice, 'quantity'=>$bquantity);
echo "alert('Book added to the cart');
window.location.href='cart.php';
";
}
}
sir minor sa problem araha ha ....user_order ma product database ma nh jarie wasey order place ka notification show ho jata ha help me please
Same problem
query2 can't be executed
But alert shows well.
Help me to fix it
Post nhi ho Raha sr
Dear sir ishi me online payment bhi cut karne ka bana do
Kindly solve this problem....
The number of variables must match the number of parameters in the prepared statement in C:\xampp\htdocs\ecoomerce\purchase.php:29 Stack trace: #0 C:\xampp\htdocs\ecoomerce\purchase.php(29): mysqli_stmt_bind_param(Object(mysqli_stmt), 'isii', NULL, NULL, NULL, NULL)
mera pass ajao kr deta hein
@@usamaaleem5783 okay aya
How to do that sir
Sir please help me out
Sir this code is not working for 2 or many items in cart .. yei srf 1st item of cart ko hi database me insert karra h baaki ko nhh foreach loop ek hi baar chlri h sir shyd plz help
Mail me your codes
Sir mne apko mail kiya h plzz check
Ohkk
same :(
I've solved her problem. There was no error in codes rather it was in database.
Is your order_item table has a primary key attribute on Order_Id field?
If yes then remove is as a primary key then your problem will ve solved 😃
Error-- Duplicate entry for primary key
Plz sir response me 🥺🥺🥺
you solved the problem?
@@ruellgenetia2134 remove primary from ID
Sir can customers can see previous orders...
No. But you can do this by implementing login and signup panel.
Hi sir that's a very good tutorial , i am stuck at one place i am not able to add the cart item to the db can i send you the code?
Check the blogs there are listed some common problems regarding query
@@tj_webdev sir i have done with js to save the time , i have send you the mail can you please check it will be very helpful
Okay
@@tj_webdev I sir I mailed you , have you checked it?
Replied u
I am not able to connect to the database
Send me your codes I'll debug it
Can we add grand total to database and fetch
Yes you can
@@tj_webdev how ?
Can u connect me on instagram. I'll tell your there and i will send you the required codes on your mail
@@tj_webdev ok
plz bta da koi
Sir mene jo aapke codes ki file purchsase ki hai usko mene run kiya to admin panel file me line 95 me error show kar raha hai
Mail me your codes I'll debug it
@@tj_webdev okk sir
@@tj_webdev Sir I have sent you mail
Okay I'll check it
sir your Video is amazing. and awesome..and i want advice to you
I want to add my PayPal account .. after clicking the PayPal Pay button.
Insert the smtp_bind value into the database
how to do that sir
Do you know how to integrate payment gateway?
Yes sir, I know how to integrate payment getway....but
I want to insert smtp bind data into database .. after clicking on paypal pay button..how to do that..sir
Can we connect on insta. It would be better to explain there
@@tj_webdev... Sir please please create a new..vedio. to integrate payment getway...
Sir mne ek e commerce website banari hu jisme mne apki cart ki playlist ko use kiya hai...lkin isme srf ek hi page ke liye item select hori h manage cart me aur mjhe meri website me multiple pages ke liye cart use krna h.. manage cart me ky changes kre plz help sir
Jo aapke multiple pages me items hai unko managecart.php pe send kro tab wo cart me add ho jaenge aur incase aap chaho to necessary files hme mail kr kr do ham debug krke send kr denge aapko
@@tj_webdev sir apki mail id please
ask.tjwebdev@gmail.com
@@tj_webdev sir this.form.submit jab krege quantity toh incr kr lega but subtotal wala fun kaise call ho jata h code toh run kr rha h but subtotal kaise call hua phele onchange pe subtotal ko call kr rhe the ab kaise ho rha voo?
Javascript code me dekho ekdam neeche subtotal () function ko call kiya gaya h... To jab quantity bdhti h to page reload hota h aur sutotal() call ho jata h