Welcome to WebmasterWorld Guest from 54.196.232.162

Forum Moderators: buckworks

Message Too Old, No Replies

NEED HELP custom phpmysql cart

     
3:02 am on Jan 28, 2013 (gmt 0)

New User

joined:Jan 28, 2013
posts: 2
votes: 0


I completed a website to sell clothing using Adam Khoury's eccommerce tutorial.

I have been banging my head off wall to get a drop down options for size and color to be selected by customer in products page and then when customer adds to cart, those size and color options are displayed under or in shopping cart description box.

I am using mysql to hold id on product, the product has the same id, but mutiply sizes and colors.

I relly just need a way for customers to choose they options outside of MYSQL and display them in shopping cart, so I can send the correct product.
3:47 am on Jan 28, 2013 (gmt 0)

Administrator from US 

WebmasterWorld Administrator incredibill is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Jan 25, 2005
posts:14624
votes: 88


You need 2 databases to easily accomplish this, products and options. You simply query all the options for that product and display them in a drop down box. Options need to be identified by product ID and option group so you can create a size group, color group, etc.

That's a simplistic implementation.

Learning and rolling your own cart is fun, but why not just get a free pre-built cart that has all the options you want already built and tested?

FWIW, many web hosting accounts offer a cart already installed on the server.
3:55 am on Jan 28, 2013 (gmt 0)

New User

joined:Jan 28, 2013
posts: 2
votes: 0


thanks Bill for reply, i will give that i try with second database. any opinion on a prebuilt shopping cart?
2:49 pm on Jan 28, 2013 (gmt 0)

Full Member

5+ Year Member

joined:Aug 31, 2006
posts:317
votes: 0


If you like php, try Ecommerce Templates.
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members