TaP Posted June 16, 2003 Posted June 16, 2003 I am working on my catalog now for www.fastshafts.com/catalog/default.php and, we make driveshafts for cars...and we custom make certain lenghts for them. Thing is I need to have a manual imput field for the user to define what length that they want...so we know to build it this certain lenght. I also want to have a user comment field at the bottom somehow.... Can ya help me plez...I am new to PHP so don't get too technical on me... Thanks! http://www.fastshafts.com
Guest Posted June 16, 2003 Posted June 16, 2003 Patrick, There is a contribution called "Option Type feature" (I think). It is available in the contributions section. I have it installed on MS1 and it works well. It is an easy install however. :?
TaP Posted June 16, 2003 Author Posted June 16, 2003 Thank you very much, I will try it out and tell you how it works! http://www.fastshafts.com
TaP Posted June 16, 2003 Author Posted June 16, 2003 I looked thru all of them, and couldn't find an "option type feature" ... i even searched and didn't find anything.... You sure thats what it is called, or did i oversee it? ....thanks http://www.fastshafts.com
Guest Posted June 16, 2003 Posted June 16, 2003 Sorry Patrick! I didn't have the whole name.....Here is a link to it : http://www.oscommerce.com/community/contributions,160
TaP Posted June 16, 2003 Author Posted June 16, 2003 I am using.. oscommerce-2.2ms1 ... will this work!? Thank you so much. http://www.fastshafts.com
Guest Posted June 16, 2003 Posted June 16, 2003 Patrick, There is a contribution called "Option Type feature" (I think). It is available in the contributions section. I have it installed on MS1 and it works well. It is an easy install however. :?
TaP Posted June 17, 2003 Author Posted June 17, 2003 Hey BirdBrain...I installed this...when I got it all done and looked at my product, look what happened http://www.fastshafts.com/catalog/product_...&products_id=28 It says Size of Shaft: Text...and its in a dropdown :( I need it to be an TEXT input .... any idea what I did wrong? http://www.fastshafts.com
Guest Posted June 17, 2003 Posted June 17, 2003 Did you add the define that are specified in the readme to the configure.php file?
TaP Posted June 17, 2003 Author Posted June 17, 2003 I added the lines in the config file...and still it shows up as a dropbox... :( what do u think I need to do.. http://www.fastshafts.com
TaP Posted June 17, 2003 Author Posted June 17, 2003 this is what i have in my config file...its now, so nothing else is added but this mod... Host: ********* Database : **** Generation Time: Jun 17, 2003 at 02:55 AM Generated by: phpMyAdmin 2.3.3pl1 SQL-query: SELECT * FROM `products_options_values` LIMIT 0, 30; products_options_values_id language_id products_options_values_name 0 3 TEXT 3 1 no transmission slip yoke 0 1 TEXT 0 2 TEXT 1 1 long transmission slip yoke 2 1 XL long transmission slip yoke ------------------------------------------------------ // CLR 020605 defines needed for Product Option Type feature. define('PRODUCTS_OPTIONS_TYPE_SELECT', 0); define('PRODUCTS_OPTIONS_TYPE_TEXT', 1); define('TEXT_PREFIX', 'txt_'); define('PRODUCTS_OPTIONS_VALUE_TEXT_ID', 0); //Must match id for user defined "Text" value in db table TABLE_PRODUCTS_OPTIONS_VALUES Tat look right? ...thx http://www.fastshafts.com
Guest Posted June 17, 2003 Posted June 17, 2003 Ah Patrick......It should be your catalog/includes/configure.php and all you need to add is this part: // CLR 020605 defines needed for Product Option Type feature. define('PRODUCTS_OPTIONS_TYPE_SELECT', 0); //TO DO: move to configuration table in db. define('PRODUCTS_OPTIONS_TYPE_TEXT', 1); //TO DO: move to configuration table in db. define('TEXT_PREFIX', 'txt_'); //TO DO: move to configuration table in db. define('PRODUCTS_OPTIONS_VALUE_TEXT_ID', 0); //Must match id for user defined "TEXT" value in db table TABLE_PRODUCTS_OPTIONS_VALUES
TaP Posted June 17, 2003 Author Posted June 17, 2003 the top section is the table from mYSQL and the second part is the config file http://www.fastshafts.com
Guest Posted June 17, 2003 Posted June 17, 2003 :lol: :lol: When I read your post the first time the sun was hitting my monitor just right and I didn't see the line between the two parts....I was trying to figure out what you had done... :lol: :lol: :lol: Okay.....Using your phpmyadmin....Delete the all the entries in that table except the very first one. Host: zzzz Database : zzzz Generation Time: Jun 16, 2003 at 10:37 PM Generated by: phpMyAdmin 2.4.0-rc1 SQL-query: SELECT * FROM `products_options_values` LIMIT 0, 50; products_options_values_id language_id products_options_values_name 0 1 TEXT Then open your admin to the attributes section.
TaP Posted June 17, 2003 Author Posted June 17, 2003 yes...i have all of that done...and i appreciate your help so much...but its still a dropdown...? http://www.fastshafts.com
Guest Posted June 17, 2003 Posted June 17, 2003 Okay.....I'm now stumped......Did you chose TEXT from the Options Values section AFTER you clicked the insert in the Products Options section?
TaP Posted June 17, 2003 Author Posted June 17, 2003 ok im going to delete all attributes and then add them again...how do i readd the TEXT option? http://www.fastshafts.com
Guest Posted June 17, 2003 Posted June 17, 2003 I don't understand? What the customer puts in the box will come out on the order.
TaP Posted June 17, 2003 Author Posted June 17, 2003 the box is just a dropdown for some reason...i want it to be a text input....so they actually type what they want.... http://www.fastshafts.com
TaP Posted June 17, 2003 Author Posted June 17, 2003 no one has any idea what my problem might be? http://www.fastshafts.com
Recommended Posts
Archived
This topic is now archived and is closed to further replies.