homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / WebmasterWorld / Ecommerce
Forum Library, Charter, Moderators: buckworks

Ecommerce Forum

NEED HELP custom phpmysql cart

Msg#: 4539709 posted 3:02 am on Jan 28, 2013 (gmt 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.



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

Msg#: 4539709 posted 3:47 am on Jan 28, 2013 (gmt 0)

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.


Msg#: 4539709 posted 3:55 am on Jan 28, 2013 (gmt 0)

thanks Bill for reply, i will give that i try with second database. any opinion on a prebuilt shopping cart?


5+ Year Member

Msg#: 4539709 posted 2:49 pm on Jan 28, 2013 (gmt 0)

If you like php, try Ecommerce Templates.

Global Options:
 top home search open messages active posts  

Home / Forums Index / WebmasterWorld / Ecommerce
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved