Thanks a lot you do it very good. It work fine except the output, i don't know why i didn' make a concatenation. The only drawback is about the explication. I'm would prefer you share your knowledge with us, that you explain at what serve some stuff you use like in_array, array_column ... But except that it's great one again thank you u helped me a lot.
Im lost with the different file, how can I add the shopping cart when I already have a internet website ? I just have css et html file so how can I link that with the shopping cart file?
Excelente tutorial gracias me a servido bastante !! si les sirve y les da error tiene que colocarlo así o sino nos lee como string les coloca en (int) ".number_format((int)$value['quantity'] * (int)$value['precio'], 2)." Gracias (y)
Thank you very much for this tutorial. Its a big help in my work as a storekeeper. I just modified this project. Sir can you help on how I make invoice format style on checkout section? and it will send pdf file using outlook? I really appreciate your big help to me. Thank you.
inserting the picture as jpg or png doesnt work with varchar since the picture is still NOT UPLOADED on phpmyadmin, so just writing its name doesnt do anything. For example if i type image.jpg it wont apear because it was not uploaded in the first place
you are not uploading the picture just the name of the picture and the name of the items and the price then you just put all the image in your working directory then your print the images on the screen using the names you store
Hello Sir... Really nice your tutorial.. By the way, is it possible to do it without refresh the page ? If so, could you show for us ? Or maybe indicate another tutorial of your able to do it ? Please. Thank you so much.
good work. I have problem with the gross total, It worked for me but that is the only part i did not understand. pls explain the little math done there
Good evening I like your code and I've subscribed to your channel. I have a little challenge in my own project. I have items from different tables from the database echoed in one product page . How to I add an individual item to the cart table
you have to insert the data manually you use the name of the image and its extension example id = auto increment so there is no need to add image name = iphone 6s price = 500 image = filename.extension => jame.jpg then insert and do it again until you have finish inserting
i have some problems with the "add to cart" sumbmit button... inside the webpage its not clicckable . If i click it ,can be deleted and written in it... somebody can help to solve this problem?
hi sir, how can i merge/sum quantity, like if i click "Add to Cart" multiple times the quantity will increment as i click the same product. btw nice tutorial.
I got some error can u explain howto fix it Forbidden You don't have permission to access this resource. Apache/2.4.48 (Win64) OpenSSL/1.1.1k PHP/7.3.29 Server at localhost Port 80
hi. i am getting this error "Warning: Undefined array key "cart" in C:\xampp\htdocs\mirna-shoppingcart\shop.php on line 111 NULL". line 111 is "var_dump($_session('cart'));". how can i fix it?
wonderful practical implementation of cart. by the way, i got the error, "Trying to access array offset on value of type null in D:\xampp\htdocs\demo\index.php" on the segment foreach ($_SESSION['cart'] as $key => $value){ $output .= "
@@w_swingfx thanks. i did some refresh and rewatched your channel, and now its solved. Now, i have one request, instead of add button, can we give direct link to images and add to cart. Your help is highly appreciated.
suppose i include one more column, discount, and type 10%, and upon adding one more item the previuos discount becomes blank. How to fix this. please help.
This is probably one of the most helpful tutorials I have seen on here you walk though step by step not leaving anything else
thanks bro
how did he create his table at the beginning?
Hello my friend!! Thanks for the tutorial. In my project in 2024 for my friend, this is in very helper. Sucess!!
very nice.... thanks for your help👍😊
Most welcome 😊
Hi, do you have tutorial on your database? how to make database with image, name, price, and id? i'd love to see that.
Plz make video this project using Jsp and mysql
Nice one
ok bro
Awwwsome!!!! I had a web development project and this tutorial has helped me understand the concept, and apply it on my project. Thanks a lot.
Glad it helped!
Can you make another video for products classification
if you want to add the same item number 20 times as a code, what would you put as an add
Thanks a lot you do it very good. It work fine except the output, i don't know why i didn' make a concatenation. The only drawback is about the explication. I'm would prefer you share your knowledge with us, that you explain at what serve some stuff you use like in_array, array_column ... But except that it's great one again thank you u helped me a lot.
whatsapp me on +233550905300
Thank you for this video, saved me big time
how did you create your table? i think you should show us that
So Good
sir thanks it's amazing but full tutorial sir
i will soon start new project that is how to create full ecommerce website right
it has left with two shopping cart tutorials then i start that project
@@w_swingfx thank you sir and i can't wait
@@w_swingfx thank you sir begin tutorial
Thanks , and for the gift i've subscribed you
Thanks and welcome
Im lost with the different file, how can I add the shopping cart when I already have a internet website ? I just have css et html file so how can I link that with the shopping cart file?
Thanks for the tutorial
Sir I'm new please begin Super market system full project thank you sir
Ok sure
are you using XAMPP or WAMP?
Excelente tutorial gracias me a servido bastante !!
si les sirve y les da error tiene que colocarlo así o sino nos lee como string les coloca en (int)
".number_format((int)$value['quantity'] * (int)$value['precio'], 2)."
Gracias (y)
Good job 👍👍👍thanks you
What to do in the event to avoid the situation where id is already in the table and in the basket did not duplicate?
nice man keep it up
Thanks,
Why do you have to push the button two times to clear or remove an item?
And thank you for the perfect guide and explanation
Thank you very much for this tutorial. Its a big help in my work as a storekeeper.
I just modified this project. Sir can you help on how I make invoice format style on checkout section?
and it will send pdf file using outlook? I really appreciate your big help to me.
Thank you.
inserting the picture as jpg or png doesnt work with varchar since the picture is still NOT UPLOADED on phpmyadmin, so just writing its name doesnt do anything. For example if i type image.jpg it wont apear because it was not uploaded in the first place
you are not uploading the picture just the name of the picture and the name of the items and the price
then you just put all the image in your working directory then your print the images on the screen using the names you store
please always provide source code in the description box
hello sir... nice...
thanks bro
I am having trouble with selecting multiple items, each time I choose another item, it replaces the previous one
do we o it the same way if the cart is on another page
ok bro
Hello Sir... Really nice your tutorial.. By the way, is it possible to do it without refresh the page ? If so, could you show for us ? Or maybe indicate another tutorial of your able to do it ? Please. Thank you so much.
yes +233550905300 whatsapp me
Sir.. this statement dose not work --> while ($row = mysqli_fetch_array($result)) { . can you help me?
I am facing the same issue when i am fetching from the mysqli_fetch_array instances. Can you help ?
good work. I have problem with the gross total, It worked for me but that is the only part i did not understand. pls explain the little math done there
thanks many
Thank you too!
subscribe for my upcoming project
what data type will i use for images? in sql?
varchar
@@w_swingfx Then for Varchar, is it i put the Text as .jpg?
@@neoneoneo3503 just put the name of the image in the database, then call the image using its name and directory. for example:
can i also know on what data type did you use for the images? because mine are not popping out in the website :)
Text or VARCHAR is ok
Hey bro can we study together if you want
can you give the css sheet the you used for all of the classes
Super ❤
how can i do to insert an item to a database ?
Good evening I like your code and I've subscribed to your channel. I have a little challenge in my own project. I have items from different tables from the database echoed in one product page . How to I add an individual item to the cart table
How can i insert the image in xampp?
sir the items not showing in the table please help it always show undefined array key
you fixed this?
for the sql data can you share, how you create? i mean the variable/image how to insert
you have to insert the data manually
you use the name of the image and its extension
example
id = auto increment so there is no need to add image
name = iphone 6s
price = 500
image = filename.extension => jame.jpg
then insert and do it again until you have finish inserting
thank you
You're welcome
Thank you good🥰🤗
Welcome 😊
Undefined array key "cart" ???
I got the same problem :(
i have some problems with the "add to cart" sumbmit button... inside the webpage its not clicckable . If i click it ,can be deleted and written in it... somebody can help to solve this problem?
Do u have source code sir?
Which IDE are you using to code , I tried using visual studio but it’s not displaying my items.
IDE doesn't matter
I want the price in INR ?? What should i do?
Sir its amazing..... Will you create a series for expense manager using php?
Yes, soon
help i get this error Warning: Undefined array key "cart" in C:\xampp\htdocs\dashboard\carro.php on line 68
NULL
thank you for this vide I loved it, Can I have the folder please?
i dont have it now but i can't work on new one for you
whatsapp +233550905300
is this using php 8 version?
I am getting symbols,number and letters anytime i try fetching the image from the database....please any help?
hi sir, how can i merge/sum quantity, like if i click "Add to Cart" multiple times the quantity will increment as i click the same product.
btw nice tutorial.
is it possible to post the source code?
whatsapp me on: +233532700209
@@w_swingfx but this number is not on WhatsApp
Hello sir can i get the code ? We have our project and there is one thing not working with us ( add to cart ) thank you
i don't have the code now but i can work on new one for you
whatsapp me on +233550905300
How do I create the database
how to solve the problem Warning: Undefined array key "cart" ?
I have the same problem
Did you find the solution ?
im using vsc and it says undefined product_ID (the id that im using for this) can u help?
Sir.. how did u make ur image's name in mysql? In our mysqli.. it only posted in our mysql is BLOB-size?
put varchar not blob
I don't understand anything, but i´m here. I don't speak English...
contact me on telegram and i will teach you +233550905300
how did you upload the image files to your database??? I uploaded mine and its not coming up. I chose blob in the char on database. How did you do it?
ya same with me, i also use blob buttt...
just use varchar and store the name of the images one by one using the insert
I got some error can u explain howto fix it Forbidden
You don't have permission to access this resource.
Apache/2.4.48 (Win64) OpenSSL/1.1.1k PHP/7.3.29 Server at localhost Port 80
+233550905300 whatsapp me
$total = $total + $value['price'] * $value['quantity'];
total = '0';
GOD MAN
sir i have a problem, mine doesn't show the string int the item selected, please help
ok
send your code give me +233550905300
Can i get the source code sir? 🙏🙏
I think even Dickson has copied the codes from somewhere else.😅😅😅
can i get a source code bro?, thanks
i dont have it now
but i can work on new one for you
+233550905300
Hi sir, i have the problem that i cannot add item again after i remove or clear few time
Do you have a file
i got this error
Notice: Undefined index: cart in C:\xampp\htdocs\My IS project\UI.php on line 60
NULL
inbox me +233550905300
do u have the source code?
inbox me +233550905300
can someone copy here the code? Becouse i have some errors
Good video but you are not understandable at all, I can't hear what you are saying.
Como agregar a quanty producto
Hello, I want the source code please .
you can contact me on whatsapp +233550905300
can u give us the Source code plzz?
i dont have it now
could you please give me the source code ?
can i have the code
too much complicate, thats not simple
YOU STUPID BRO. THERE SRE PROJECT WITH OVER 6 HOURS AND YOU COMPLAIN ABOUT THIS ONE IDIOT KID.
Bro, you will find more complex than this in other videos😄
code
Can you provide source code??
you chat me on whatsapp +233532700209
Can u share the code please?
i don't have it now but i can work on new one for you
u literally just saving image name to db not image! 😢
code source plz
I want the source code please,bro!
i don't have it now but i can work on new one for you +233550905300 whatsapp me
Does anyone have a working code for this project, please share with me..
i do
@@adewumisamuel than plz share me source code link
@@brijeshpatil1115 okay hold on
Source code
Any way to contact u ? I need help with my php
+233532700209 whatsapp
hi. i am getting this error "Warning: Undefined array key "cart" in C:\xampp\htdocs\mirna-shoppingcart\shop.php on line 111
NULL". line 111 is "var_dump($_session('cart'));". how can i fix it?
whatsapp me with the source code on +233550905300
what is the problem i have the same
wonderful practical implementation of cart. by the way, i got the error, "Trying to access array offset on value of type null in D:\xampp\htdocs\demo\index.php" on the segment
foreach ($_SESSION['cart'] as $key => $value){
$output .= "
".$value['id']."
ok sen me the error here +233550905300 whatsapp
@@w_swingfx thanks. i did some refresh and rewatched your channel, and now its solved. Now, i have one request, instead of add button, can we give direct link to images and add to cart. Your help is highly appreciated.
suppose i include one more column, discount, and type 10%, and upon adding one more item the previuos discount becomes blank. How to fix this. please help.
how to fix this error ?
quiet mf
Do u have source code sir?
Did you get the source code?
source code?