PDA

View Full Version : Adding a new radio button or select menu ?


janicen
12-4-04, 04:40 PM
Hello,

I am wondering if any of you (using osCommerce, of course) had coding an extra radio button or pulldown menu selection to select COLORS of the T-Shirt and/or size of T-shirt in the order page of osCommerce ?? It might ask for a little more advanced, I guess.. but I always look for something more to add into the program. Thanks!!

Janice

stevel
12-4-04, 07:48 PM
Pulldown menu is easy - that's done with attributes. See http://www.cheshiregarden.com/product_info.php?products_id=62 for an example.

janicen
12-4-04, 08:22 PM
Hi Steve,

Which page ? /catalog/config/ ? or order_form ?

Can I add three more pulldown menu ?

Thanks,
Janice

Jade Dragon
12-6-04, 10:26 PM
in your admin panel under "Product Attributes" you will be able to create options for your size and color of t-shirt

What you are asking for is already built into the program.

=)
Jade

janicen
12-6-04, 10:42 PM
Oh, gee. My admin panel shows me this:

Warning: mysql_connect(): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /www/a/aslcreativecraft/htdocs/catalog/admin/includes/functions/database.php on line 19
Unable to connect to database server!

What does it mean ?

:confused: Jan

stevel
12-7-04, 10:32 AM
It means that your install of osCommerce is incorrect - in particular, catalog/admin/includes/configure.php does not have the right settings for the database server.

janicen
12-8-04, 08:03 AM
Do I have to start all over again ? My shopping cart is 3/4 completed. Maybe I'll eliminate 'sql.php' out of that ? Any suggestions ? :confused:

Thanks,
Jan

stevel
12-8-04, 09:11 AM
No, you should not have to start all over again. But I am confused - some parts of admin are working for you and other parts not? Which ones are working?

janicen
12-8-04, 04:46 PM
Steve,

I cannot access to my admin panel because right now the admin panel page said:

Warning: mysql_connect(): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /www/a/aslcreativecraft/htdocs/catalog/admin/includes/functions/database.php on line 19
Unable to connect to database server!


That is the only problem I have right now. :o

jan

stevel
12-8-04, 05:49 PM
Ok - your admin/includes/configure.php file is incorrect. If you want to send it to me in a PM, I'll take a look.