8. E – Commerce Website PHP MySQL Tutorial – Product Display Page



Series: http://www.developphp.com/video/PHP#eCommerce-Website-Tutorial
Source Download: http://www.developphp.com/video/PHP/PayPal-IPN-PHP-Instant-Payment-Notification-Script
In this 8th video we will begin creating the dynamic product display page, and also discuss payment gateway shopping cart options. The E – Commerce Web Site we will be assembling is one in which all of the inventory is in a MySQL database and we offer a custom PHP cart for a unique shopping experience.

source

48 thoughts on “8. E – Commerce Website PHP MySQL Tutorial – Product Display Page”

  1. Hello Adam sir… I m making a project on online mobile shopping for my final semester …I have got a lot of help from ur tutorial , really they are amazing …Sir I need a sidebar with checkboxes that filters products , for eg . when user check the battery capacity checkboxes it displays the matched products…here is the practical example on amazon — http://www.amazon.in/s/ref=s9_acss_bw_cts_VodooFS_T1_w?rh=i%3Aelectronics%2Cn%3A976419031%2Cn%3A%21976420031%2Cn%3A1389401031%2Cn%3A1389432031%2Cn%3A1805560031%2Cp_98%3A10440597031%2Cp_36%3A800000-1200000&bbn=1805560031&rw_html_to_wsrp=1&pf_rd_m=A1K21FY43GMZF8&pf_rd_s=merchandised-search-9&pf_rd_r=1WHXJ48XWW4GW7JS8BVK&pf_rd_t=101&pf_rd_p=d81e1dc2-1340-483d-8ebe-70579607e29e&pf_rd_i=1389401031

    sir i have searched the whole internet but did not find the way to do it , I would be grateful to u if u provide a tutorial on this…Sir plz help me….

  2. Maybe you can check the the product url id is in databse and using this one:
    require_once "config.php";
    $query = mysql_query("SELECT id FROM products WHERE id='".$_GET["id"]."' ");
    while($row=mysql_fetch_assoc($query)) {
    $urlid = $row['id'];
    }
    // checking the url id πŸ˜‰
    if(!isset($_GET['id']) == $urlid OR !$_GET['id']) {
    header("index.php");
    }

    Maybe thats working πŸ™‚

  3. Hi.thx for The tut!

    I set the Link on the Index.php to products.php and get this error:
    Data to render this page is missing.

    I realy don't know what to do? Someone have/had this problem, too?
    Thanks for help

  4. i see that some of the code is depreciated…can i still do this project then update the depreciated code easily? you think its okay to do?

    i get this errror when clicking on the home pages dynamically produced image, when i click on the link provided i get this error

    Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in C:xampphtdocswwwuclanproduct.php on line 10
    That item does not exist.

  5. Hey .. if i click on the product image , i get the following :
    ReadResponse() failed: The server did not return a response for this request.

    or Data to render this page is missing.
    i followed the same code as u did… pls help asap

  6. Hi there, this is a great tutorial Adam and I have following these and cannot wait to get to the end of the series. However, I too am getting the same problem as others who who commented here about "Data to render this page is missing" Is there any solution to this please? or has anyone been able to sort this out as I have followed this video multiple times and cannot figure out a work around? Please could you suggest a solutionΒ 

    Thank YouΒ 

  7. This is a cool script but need help i have started putting it in to my website but just keep getting Data to render this page is missing. when trying to display my products just dont know what am doing wrong

  8. Hello Dude, am really happy to join you and the tutorials are great, am enjoying them. Please i want you to direct me on how to get all the source codes for these product tutorials. Thanks waiting to here from u.

  9. Hello great man, in your tutorial, we only have product page where we can see all products in the database irrespective of what categories they belong to, how do i create link on homepage to each categories to be able to view only products that belong to certain category instead of displaying all?

  10. I think you shouldn't use the preg replace method at the begining of the code. I think it's unnecessary and it didn't work for me. I always skip this method. And it works just fine for me

  11. You can can use a div where Adam has used a table. You can then float them left and set the width of the div tag to 1/3 of the full width. If you want to see an example pm me.

  12. I am getting a error when I click on the Products link. It is giving me an error of "Data to render this page". I have have all info as followed in the tutorial. It seems like there is an error with the $id. Anyone have any solutions on this?
    Please help

  13. hello there ! i actually subscribe you and appreciated your video tutorial . .
    hmmm its great and really useful on my study !
    but i want to use a modal built in TWITTER BOOTSTRAP when you click the delete button for product on the admin area, also the link on product.php instead of redirecting to another page . . . how does it come? can you help me or give some links to resolve this concern :))
    thanks and keep up sharing !!!

  14. what if I have different pages for the category all bags for this page next page is dresses, next sandal…how can I query on that???pls reply this is my email anne_bonch16@y.c

Leave a Reply

Your email address will not be published. Required fields are marked *