Advance plain cart with admin panel(Simple PHP Shopping Cart Tutorial )

Simple PHP Shopping Cart TutorialAdvance plain cart is advance version of plain cart. i have added html template to admin panel and shopping cart  with special feature like adding sub category  and login/logout session for admin and other user level. download the Simple PHP Shopping Cart Tutorial with code AdvancePlainCart

if the post useful to you then donate just by clicking the link

Add this embedded code in your blog to share this free Advance plain cart to all php programmers.


myself pramodh kumar yet another php developer from India and have worked on oops,procedural,yii framework,codeigniter,wordpress,joomla,api and more.

Tagged with: , , , , , , , , , , , ,
Posted in Advance plain cart with admin panel
18 comments on “Advance plain cart with admin panel(Simple PHP Shopping Cart Tutorial )
  1. YH says:

    Hi , Category can it support up to 3 level ?


  2. pramodhs says:

    off course it supports just create another category and give 2nd level of cat_id to new category (cat_parent_id) .finally add cat_id of(new category) to (tbl_product) product table (cat_id). like mobile–>Samsung—>galaxy_model–>products


    • Tan says:


      Do I need to change code or your sample can use it ? As I try the sample it only until level Mobile — > Samsung –> products , can have category galaxy model , kindly advice as i need is mobile–>Samsung—>galaxy series –>products



      • pramodhs says:

        As i commented before you do not need to alter the php code just go to phpmyadmin alter table and run your php.
        for example:tbl_category table(pass id like this)
        1:mobile—>cat_parent_id(cat_id like 0)
        2:samsung—>cat_parent_id===mobile(cat_id like 1)
        3:new galaxyseries—->cat_parent_id===samsung(cat_id like 2)
        tbl_product table:
        1:product——->cat_id ===galaxyseries(p_id like 3)
        i do not know how to explain simple then this.The problem you will face is cant create tree structure in template and i am looking forward for it. sign up we will be in touch and discuss more about coding problems.


  3. Tan says:

    Hi , does it mean I need to change manually at Category table ? Means I not able to manage the category, everything need to manual set at phpmyadmin ?


    • pramodhs says:

      Actually you right for instant solution i replied it and we have to update the code according to our i will work on it for any solution if you find any solution just let know to add credit of work.


  4. Thirumalai says:

    on click of category i need to show the sub-category instead of showing the products on the right side. please help to show sub-category

    for example:
    All Category
    -show all category

    on Click of one of the category
    –show all sub category with image

    on Click of sub Category
    — show list of products
    on Click of products
    —– show products Details


  5. Shraddha says:

    I have downloaded your code and was going through it, when i proceed to checkout i get this message but on following this instruction i get the error on paypal site saying user name or password is wrong.. What should i do in this case


    • pramodhs says:

      you shouldnt share user name and password in any website.And for you paypal i think it check for sandbox user and password.i look forward for it and check for any issue.


  6. Shraddha says:

    I am sorry for sharing the username and password.

    Can you please let me know how can i configure my account for paypal in the code.


    • pramodhs says:

      try to config advanceplaincart–>include–> file with bussiness paypal id first try in sandbox it was working in it.So if it worked in sanbox just change the url
      $paypal[‘url’] = “”; and comment the sandbox url i hope this helps you


  7. Wiet Mie says:


    Thank a lot for your hardwork, this masterpiece help me a lot.. i got some problem where i cannot surf the admin page, the error was:
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    More information about this error may be available in the server error log.
    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    Is it because of the server setting? still googling it, none of it works. Please inform me if you need extra info from me.

    Thank you.


    • pramodhs says:

      first where are you working the file server or in localhost. second either way you have to configure the server detail like host name,username and password in config.php file.


  8. Wiet Mie says:

    I working with the file server. I manage to solve it. Maybe will help others who got the same error as me. The error because of the file permission. Change to 444. Tracing the error by looking at the Cpanel error logs.


  9. i cant connect with database help me pls


Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Follow Tutorial on
October 2012
« Sep   Nov »
Follow me on Twitter
Blog Stats
  • 78,798 hits
%d bloggers like this: