Added: 2 years ago
From: TheTutSpace
Views: 7,017
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (27)

Sign In or Sign Up now to post a comment!
  • hi, followed all your steps and used all your codes but the quantity of items in the cart is not increasing or resetting...need help ASAP

  • Thanks for the great video! If you need help installing, configuring, or setting up zen cart, check out our channel for lots of Easy Help Zen Cart Tutorials:

  • add or die, he said

    You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '2,1,3) ORDER BY id_product ASC' at line 1

    But i still don;t know what's wrong. plx help thanks.

  • i still have problem.

    while($row = mysql_fetch_assoc($query))

    he said

    Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\cart\index.php on line 45

    can help me??

  • Comment removed

  • hey thanks for the tutorial man. I'm having a problem with adding items to the cart. I have it so it says that there are no items in the cart and I need to add an item. But when I click add item it sends me to my home page. (note: my home page is a different page from my products page altogether) any help would be greatly appreciated.

  • i followed this your steps and when i tried to click the add to cart. there are no results.. can you please help me? :(

  • Comment removed

  • @jalexander05 I have a feeling Alex fixed it. ~Jono

  • Hi im getting this error in the cart on the sidebar once the product has been added :(

    Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\cart\index.php on line 34

    Go to Cart

  • @1webbmanjones check your session names for typos, and also, on your queries, and stuff add 'or die( mysql_error());'

  • @1webbmanjones

    this was a very long time ago, but i had the same problem. i found that i missed a * in the select * from products part of the query on line 27 and this was what was causing the error. hopefully this will help someone else..

  • after tut 10 update, were's the next one to correct CSS layout

    and start cart.php

  • Comment removed

  • Can you plz post the rest of the tutorial?real nice tutorial!!

  • Im recording the video in a minute.

  • ill be uploading on wednesday probiably.

  • Uploading now. Sorry i mispredicted when they would be uploaded :D

  • Great. I just subscribe. Thanks for the tutorials.

  • hi...

  • Erm, Hi?

  • Thanks!

    Remember to subscribe and tell others about me, More subscribers we get, more amazing tutorials you get :)

    I will upload next video when this one has approx 80 views :)

  • @TheTutSpace ; from 2:10 you havnt shown us how you added those items to the cart... when you press add to cart on multiple items, only one row appears. also this has had 185 views now....

  • I recommend you recheck your code. as if it works in the video, it will work as the code.

    i show the same code preview as what i code in the video, so.. it should work.

    Also, i know, i have been really busy and plan on getting it out as soon as possible. Please wait for it :)

  • @TheTutSpace i change this

    $sql2 = "SELECT * FROM products WHERE id_products=$[id]";

    to this

    $sql2 = "SELECT * FROM products WHERE id_products=$id"; and it works!

  • @zainielias Thats because you were looking for a variable with the name {id}

    It should be {$id}.

    But, your way works also..

  • Nice Video!

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