|
| Register now to interact with over 11,000 members! Registered users have Posting Privileges, free access to Private Messaging, Email Notifications and more. |
|
|||||||
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
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 |
|
|
|
|
#2 |
|
XPW
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 |
|
|
|
|
#3 |
|
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 |
|
|
|
|
#4 |
|
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 |
|
|
|
|
#5 |
|
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 |
|
|
|
|
#6 |
|
XPW
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 |
|
|
|
|
#7 |
|
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 |
|
|
|
|
#8 |
|
XPW
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 |
|
|
|
|
#9 |
|
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 |
|
|
|
|
#10 |
|
XPW
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 |
|
|
![]() |
| Thread Tools | Search this Thread |
|
|