Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (34)

Sign In or Sign Up now to post a comment!
  • Adam: Hello Black Hat.

    Black Hat: You Alright Mate!

  • gong.mp3

  • code works great in MAMP but in my ISP iPage, with multiple items in the cart, only the quantity for the last item added can be changed. Changing the qty of items added earlier "hangs" the system before spitting out an error. Anyone have a fix for this? Been working on this ONE problem for a week, contacting iPage, trying different variations to Adam's code, etc. with no luck. Please Help

  • sir please tell me how the product added to cart by the user is seen by the admin for delivery....

  • where can i find your source code?

  • Comment removed

  • i wanna buy that Black Jeans, "Cool black jeans you want to buy now, get all the girls" rofl

  • The little fix to make sure the number they insert to change the quantity has no funny characters is in video part 17

  • if you made a website in windows can you move it to a mac

  • To check that $quantity is a number you can do :

    if (is_numeric($quantity) == false || $quantity < 0) { $quantity = 1; }

    $quantity = round ($quantity);

    I also added <0 so you cannot have a value of -1, and round so you cannot have 1.4

  • how about adding a feature that allows you to update all items' quantities with one (update or change) button, instead of updating individual items.

  • The purple shirts are killing me!!!! LMFAO

    ADAM DOES PhP

    The latest PHP and comedy series at an ISP near you!

  • well i have made a drop down menu so they can only pick to change the number to max of 5 as i dont think i need it to be higher than that i will post it at develop php and zook i put the header code on the end of the new section 3 so just like we did before

  • where video no 17?

  • yippie! i like this, this is good coding man.

  • Learning how do all this is more important than just getting the source code. I plan on watching this series over and over till I start understand how all this code works and produces your finished product.

    Thank you,

    Eric

  • @cockerspanielhome I agree man, the source code is the last thing I am waiting for. Understanding is what matter. That’s why I keep watching these videos over and over again until I get the logic of why is he doing it that way

  • this is so leet

  • i love the message about the source code lol i bet ppl will still ask

  • Hey there, very nice lesson series! I do have a weird problem though and I hoped you know what causes it: if I add a few items to the cart, at some point when I add an item that page is gonna load forever, and then after about 10 secs, there's like a million of items added to the cart... Any ideas?

    Thanks :D

  • @p0ker1sc00l

    Check to where the header-commands leed, And if you have put the sections in the same order as Adam did.

    Might help... If not check the variablenames for misspelling. Especially around the POST-Sector and the names of the form. That should make it.

  • Praise the Lord!

  • awesome

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more