PowWeb Forums - The Perfect Community for the Perfect Host  

Register now to interact with over 11,000 members! Registered users have Posting Privileges, free access to Private Messaging, Email Notifications and more.

Go Back   PowWeb Community Forums > Web Site Design > Content Management Systems > E-commerce and Shopping Carts
User Name
Password
Register FAQ Members List Search Today's Posts Mark Forums Read

Closed Thread
 
Thread Tools Search this Thread
Old 12-4-04, 04:40 PM   #1
janicen
 
Join Date: Oct 2002
Location: Florida
Posts: 45
Reputation: 5
Adding a new radio button or select menu ?

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
janicen is offline  
Old 12-4-04, 07:48 PM   #2
stevel
XPW
 
stevel's Avatar
 
Join Date: Jun 2002
Location: New Hampshire, USA
Posts: 9,464
Reputation: 265
Pulldown menu is easy - that's done with attributes. See http://www.cheshiregarden.com/produc...products_id=62 for an example.
__________________
Steve
stevel is offline  
Old 12-4-04, 08:22 PM   #3
janicen
 
Join Date: Oct 2002
Location: Florida
Posts: 45
Reputation: 5
Hi Steve,

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

Can I add three more pulldown menu ?

Thanks,
Janice
janicen is offline  
Old 12-6-04, 10:26 PM   #4
Jade Dragon
 
Join Date: Sep 2002
Location: Eä, Realm of Arda, Land of Middle-earth.
Posts: 2,338
Reputation: 30
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
Jade Dragon is offline  
Old 12-6-04, 10:42 PM   #5
janicen
 
Join Date: Oct 2002
Location: Florida
Posts: 45
Reputation: 5
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 ?

Jan
janicen is offline  
Old 12-7-04, 10:32 AM   #6
stevel
XPW
 
stevel's Avatar
 
Join Date: Jun 2002
Location: New Hampshire, USA
Posts: 9,464
Reputation: 265
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.
__________________
Steve
stevel is offline  
Old 12-8-04, 08:03 AM   #7
janicen
 
Join Date: Oct 2002
Location: Florida
Posts: 45
Reputation: 5
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 ?

Thanks,
Jan
janicen is offline  
Old 12-8-04, 09:11 AM   #8
stevel
XPW
 
stevel's Avatar
 
Join Date: Jun 2002
Location: New Hampshire, USA
Posts: 9,464
Reputation: 265
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?
__________________
Steve
stevel is offline  
Old 12-8-04, 04:46 PM   #9
janicen
 
Join Date: Oct 2002
Location: Florida
Posts: 45
Reputation: 5
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.

jan
janicen is offline  
Old 12-8-04, 05:49 PM   #10
stevel
XPW
 
stevel's Avatar
 
Join Date: Jun 2002
Location: New Hampshire, USA
Posts: 9,464
Reputation: 265
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.
__________________
Steve
stevel is offline  
Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 02:51 PM.


Contents ©PowWeb, Inc. ~ vBulletin, Copyright © 2000-2007 Jelsoft Enterprises Limited.