Shopping cart/Custom Item help

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
salukigirl
Forum Newbie
Posts: 1
Joined: Sun Feb 28, 2010 12:14 pm

Shopping cart/Custom Item help

Post by salukigirl »

Hi, I know a bit PHP and about Mysql databases. But what I'm trying to do is sell a custom product, that customers can customize with drop down menus then have the form create that item for a set price. does that make any sense?

I can do the database tables and form and all that but I'm not sure what I need to have the form information create something that would appear in a shopping cart of sorts
User avatar
yacahuma
Forum Regular
Posts: 870
Joined: Sun Jul 01, 2007 7:11 am

Re: Shopping cart/Custom Item help

Post by yacahuma »

If the only thing you are going to sell are this custom products, just create a table with the customization you want. Yo can do this in many different ways but and easy one will be to have a table called cart like


userid | param1 | param2 | param3 | ...

so your form will have the choices for each paramenter and you save thouse


I hope it helps
Post Reply