josheli Posted May 14, 2003 Share Posted May 14, 2003 did you manually add the contrib or upload and overwrite the files? if the former, then you just missed some code (i did this). if you overwrote the files, then you messed something up in the admin setup. otherwise, the line of code that outputs the option is in /catalog/includes/modules/order_details.php echo '<br><small><i> - ' . $products[$i][$option]['products_options_name'] . ' ' . $products[$i][$option]['products_options_values_name'] . '</i></small>'; $products[$i][$option]['products_options_name'] is the variable holding the option name. it gets pulled from the db in /catalog/shopping_cart.php... $attributes = tep_db_query("select popt.products_options_name, poval.products_options_values_name, pa.options_values_price, pa.price_prefix from " . TABLE_PRODUCTS_OPTIONS . " popt, " . TABLE_PRODUCTS_OPTIONS_VALUES . " poval, " . TABLE_PRODUCTS_ATTRIBUTES . " pa where pa.products_id = '" . $products[$i]['id'] . "' and pa.options_id = '" . $option . "' and pa.options_id = popt.products_options_id and pa.options_values_id = '" . $value . "' and pa.options_values_id = poval.products_options_values_id and popt.language_id = '" . $languages_id . "' and poval.language_id = '" . $languages_id . "'"); $attributes_values = tep_db_fetch_array($attributes); and assigned to the above variable with $products[$i][$option]['products_options_name'] = $attributes_values['products_options_name']; it is also very possible that the problem is in the /catalog/includes/classes/shopping_cart.php file which does the actual adding of the products to the cart and retrieving of the contents, but i would have to see your code. let me know if you need help. Link to comment Share on other sites More sharing options...
Eagle-Eye Posted May 14, 2003 Share Posted May 14, 2003 Josheli (David), Thanks for your reply. I did in fact manually change my files. So, I will go check this out and report back to all. Thanks for your input. I do appreciate the help! Thanks in Advance!, David Whitford Take Offs are Optional, Landings are Mandatory! Link to comment Share on other sites More sharing options...
pilot1 Posted May 14, 2003 Author Share Posted May 14, 2003 Take Offs are Optional, Landings are Mandatory! Yep! want a demo!! What goes up MUST come down Link to comment Share on other sites More sharing options...
Eagle-Eye Posted May 14, 2003 Share Posted May 14, 2003 SURE! By the way, i checked all my files and code as you suggested and all is as you show it should be?? So, I'm at a loss again. Could I or should I send you my Configure.php file and let you take a look at it? or another file? thanks, David p.s. are you a full size pilot? or do you fly R/C?? Thanks in Advance!, David Whitford Take Offs are Optional, Landings are Mandatory! Link to comment Share on other sites More sharing options...
pilot1 Posted May 14, 2003 Author Share Posted May 14, 2003 I will take a look at my files later , you have to excuse me but I'm in the middle of a big project at the moment. I wil look later. p.s. are you a full size pilot? or do you fly R/C?? As a hobby I fly a cherokee piper sometimes I could do with a R/C !! What goes up MUST come down Link to comment Share on other sites More sharing options...
josheli Posted May 14, 2003 Share Posted May 14, 2003 i would need to see all the touched files in the catalog. configure.php product_info.php shopping_cart.php includes/classes/shopping_cart.php includes/classes/order.php includes/functions/general.php or to do it yourself, get a copy of Beyond Compare or WinMerge and compare your files to the contrib files. or search for "CLR" and "Dogu" in each file. Link to comment Share on other sites More sharing options...
Eagle-Eye Posted May 19, 2003 Share Posted May 19, 2003 Hi Josheli (David) How would you like me to send the files? Email? if so, what email would you like me to send them too? thanks in advance, Eagle-Eye David Whitford Thanks in Advance!, David Whitford Take Offs are Optional, Landings are Mandatory! Link to comment Share on other sites More sharing options...
Eagle-Eye Posted May 22, 2003 Share Posted May 22, 2003 Just an Update!@ All is working fine now! thanks for everyone's input and help. now onto the next problem... if there is any.... thanks again. Thanks in Advance!, David Whitford Take Offs are Optional, Landings are Mandatory! Link to comment Share on other sites More sharing options...
Al66 Posted June 12, 2003 Share Posted June 12, 2003 ooh, where can I find the combined Chandra/Conte mod? Having to mix the two was just what I was dreading! (Unless I'm being stupid -the text option on Conte's current mod seems to just add text rather than a text input field) thanks for your help! Link to comment Share on other sites More sharing options...
Eagle-Eye Posted June 12, 2003 Share Posted June 12, 2003 ooh, where can I find the combined Chandra/Conte mod? Having to mix the two was just what I was dreading! (Unless I'm being stupid -the text option on Conte's current mod seems to just add text rather than a text input field) thanks for your help! *********************************** Have a look at: http://www.oscommerce.com/community/contributions,160 this is the one that I am using and I love it, works great. if you need any help let me know. David Thanks in Advance!, David Whitford Take Offs are Optional, Landings are Mandatory! Link to comment Share on other sites More sharing options...
Al66 Posted June 12, 2003 Share Posted June 12, 2003 Hi, I was using Chandra's for including text input fields, but then I saw Conte's mod so installed that instead to get the radio button and check box options. But then I realised that it didn't seem to have a proper text input field option. So I will probably go back to Chandra's mod -but have no idea how to add different option types like the ones available with Conte's mod (I noticed Chandra says they should be addable without too much difficulty -but I have no coding experience so wouldn't know where to start...) Have you added different option types? -Could you give any advice? Thanks. This is my last hurdle to get my cart just how I need it! Alastair Link to comment Share on other sites More sharing options...
Eagle-Eye Posted June 12, 2003 Share Posted June 12, 2003 (I noticed Chandra says they should be addable without too much difficulty -but I have no coding experience so wouldn't know where to start...) Have you added different option types? -Could you give any advice? Thanks. This is my last hurdle to get my cart just how I need it! Alastair[/quote ******************] No, i haven't added those other types of options. I am currently only using "SELECT" and "TEXT" Can you not use the Select typ to do what you want? explain an example of what you'd like to do with it. David Thanks in Advance!, David Whitford Take Offs are Optional, Landings are Mandatory! Link to comment Share on other sites More sharing options...
Al66 Posted June 12, 2003 Share Posted June 12, 2003 technically I probably could -I'm thinking mainly of layout/user-interface issues. My site sells individually customisable charity Christmas cards where you have to select a layout for your details, number of colours, and so forth and I wanted to avoid just having a laundry list of select options. Plus Conte's mod has options for setting minimum quantities and price and a few other useful features that I could really use as well. But ultimately I need, most of all, to allow users to input specific details on the product page for printing on the final christmas card. So I may just have to use Chandra's mod until someone merges it with Conte's. I thought this might have been done (someone mentions it at the start of this thread) -but apparently not..... thanks for your input though! Alastair. Link to comment Share on other sites More sharing options...
Eagle-Eye Posted June 12, 2003 Share Posted June 12, 2003 Sorry i couldn't help more. If you do find something let me know cuz I might go ahead and add it to my Cart as well. never know when I might need it and if I find one with a merge I will contact you as well. David Thanks in Advance!, David Whitford Take Offs are Optional, Landings are Mandatory! Link to comment Share on other sites More sharing options...
Power-J Posted July 25, 2005 Share Posted July 25, 2005 Just an Update!@All is working fine now! thanks for everyone's input and help. now onto the next problem... if there is any.... thanks again. <{POST_SNAPBACK}> I was just wondering how you fixed that problem. Any help would be appreciated. I'm having the same issue and I can't seem to find a solution. My Option fields work when I give the user an Option to Select from a drop down, however if I elect to give a text field to enter information, the field name does not get carried over at check out. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.