Advance plain cart is advance version of http://www.phpwebcommerce.com 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 https://adf.ly/MMZbv
Add this embedded code in your blog to share this free Advance plain cart to all php programmers.
Hi , Category can it support up to 3 level ?
LikeLike
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
LikeLike
Hi
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
thanks
LikeLike
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.
http://scriptworld.wix.com/scriptworld sign up we will be in touch and discuss more about coding problems.
LikeLike
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 ?
LikeLike
Actually you right for instant solution i replied it and we have to update the code according to our needs.so i will work on it for any solution if you find any solution just let know to add credit of work.
LikeLike
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
LikeLike
i worked it out and soon will update newer file.
LikeLike
Hi,
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
LikeLike
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.
LikeLike
Hi,
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.
LikeLike
try to config advanceplaincart–>include–>paypal.inc.php 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’] = “https://www.paypal.com/cgi-bin/webscr”; and comment the sandbox url i hope this helps you
LikeLike
Hye,
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, webmaster@wietmie.my 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.
LikeLike
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.
LikeLike
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.
LikeLike
Good Job wiet mie
LikeLike
i cant connect with database help me pls
LikeLike
plz import sql file in phpmyadmin ,set username and password,user name may be root by default
LikeLike
I think you have set the config with mysql credential and let me know what is the error message
LikeLike