teksigns Posted March 21, 2003 Share Posted March 21, 2003 anyone got any idea on how to add checkboxes to this addon and get them to all show up correctly in the shopping cart when checked? Quote Link to comment Share on other sites More sharing options...
teksigns Posted March 26, 2003 Share Posted March 26, 2003 anyone ever get this working Quote Link to comment Share on other sites More sharing options...
Morbantokk Posted March 26, 2003 Share Posted March 26, 2003 important question... for me too.. Quote WAR is not the answer! Link to comment Share on other sites More sharing options...
Guest Posted March 26, 2003 Share Posted March 26, 2003 still trying to find time to take a peek at this code, time is short and my request for more hours in the day aint gonna happen.... :sleepy: Â cheers barry Quote Link to comment Share on other sites More sharing options...
pilot1 Posted April 7, 2003 Share Posted April 7, 2003 I have just installed this on my test board and got these errors  Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at mysite/catalog/includes/configure.php:48) in mysite/catalog/includes/functions/sessions.php on line 67  Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at mysite/catalog/includes/configure.php:48) in mysite/catalog/includes/functions/sessions.php on line 67  Warning: Cannot modify header information - headers already sent by (output started at mysite/catalog/includes/configure.php:48) in mysite/catalog/includes/functions/general.php on line 32  The emoticon was'nt intended! Quote What goes up MUST come down Link to comment Share on other sites More sharing options...
pilot1 Posted April 7, 2003 Share Posted April 7, 2003 :oops: :oops: I forgot I had a mod in, and treated it as a fresh install. Â re-installed (again) The text field work - whats happening to the the radio buttons ? Quote What goes up MUST come down Link to comment Share on other sites More sharing options...
pilot1 Posted April 7, 2003 Share Posted April 7, 2003 Posted: Fri Mar 21, 2003 1:22 am?? ?Post subject:   ------------------------------------------------------------------------ anyone got any idea on how to add checkboxes to this  addon and get them to all show up correctly in the shopping cart when checked?  Got all but this working OK  I have tried to make a drop box but allas it only shows the one attribute - did anyone come up with an answer ?  Too good to give up on? Quote What goes up MUST come down Link to comment Share on other sites More sharing options...
redman Posted April 9, 2003 Share Posted April 9, 2003 Hello everybody, Â has anyone merged Chandra's option type feature with ConteZero's Attribute option type... Â or at least has anybody succeeded adding text-input feature to Conte's one. I know that his text-feature is a static one and at least for me it will be usefull (not only the text-feature - all the contrib is great) but I need also a text-input feature and running both seems difficult because they have changed the same files. if anybody merged these two succesfully or successfully added text-input to conte's please let me know. Â Antony Quote Link to comment Share on other sites More sharing options...
pilot1 Posted April 9, 2003 Share Posted April 9, 2003 thats exactly what I am trying to get the handle on now! keeo you informed! Quote What goes up MUST come down Link to comment Share on other sites More sharing options...
redman Posted April 9, 2003 Share Posted April 9, 2003 I'm doing the same right now. Â To be honest I'm not a programmer, but sometimes I'm able to make a thing work. If you want we can share problems/results(?). Â Right now I'm sitting on the admin/products_attributes.php. Â First I've done the changes from chandra's file, and now trying to bring in conte's. But I expect to get a little confused... Quote Link to comment Share on other sites More sharing options...
pilot1 Posted April 9, 2003 Share Posted April 9, 2003 I've just got myself a good file comparison program for the job! Â I have installed Chandra's text Mod on one server OK and I'm going to install Conte's on the other server, when I know I can get them both to work - I will merge and have fun!! Â Probably take a while!!!! Quote What goes up MUST come down Link to comment Share on other sites More sharing options...
redman Posted April 9, 2003 Share Posted April 9, 2003 Already done, both are working without any problems on MS1, tried to use WinMerge, but confused more, need to check every single line I think Quote Link to comment Share on other sites More sharing options...
pilot1 Posted April 9, 2003 Share Posted April 9, 2003 OK I have got both Mods working well on seperate servers on different shops.  All I gottooo doooo is combine 'em  Does anyone know how to make an attribute price a one off cost without being multiplied by the product quantity? Quote What goes up MUST come down Link to comment Share on other sites More sharing options...
redman Posted April 10, 2003 Share Posted April 10, 2003 Hey pilot any news with the catalog/product_info.php? Â I think I'm going crazy with it, maybe we are wrong from the beginning, somewhere I've seen a post telling that it is impossible to merge these two. Â I'll try the following: Â Basis will be contes mod, adding a new option type "INPUT", which corresponds to chandras "TEXT"-Option, modifying the new case "6" (=INPUT) in contes product_info regarding chandras changes, what do you think? Quote Link to comment Share on other sites More sharing options...
Guest Posted April 10, 2003 Share Posted April 10, 2003 you're right, don't merge them. use the mod by contre as a reference to addf the features to chandras mod. Â cheers barry Quote Link to comment Share on other sites More sharing options...
redman Posted April 10, 2003 Share Posted April 10, 2003 have you done it already? Because I think will have trouble with the catalog/proct_info.php Quote Link to comment Share on other sites More sharing options...
Guest Posted April 10, 2003 Share Posted April 10, 2003 not yet but i may tackle it later this afternoon. Â cheers barry Quote Link to comment Share on other sites More sharing options...
pilot1 Posted April 10, 2003 Share Posted April 10, 2003 you're right, don't merge them. use the mod by contre as a reference to addf the features to chandras mod  Well I am adding them but the other way round. I am adding to conte's from chandras Mod and so far I have'nt broken it, but do'nt know if chandras will work when its done, but its sloooow to do it!  If it works I will certainly share the files!  shopping_cart.php, and product_info.php altered no changes in checkout_process.php  This is important to get these two together as I am desperate to have the type input and selection boxes from conte! Quote What goes up MUST come down Link to comment Share on other sites More sharing options...
redman Posted April 10, 2003 Share Posted April 10, 2003 it is not only this, the possibility to add muliple radios and checkboxes to one superior option is perfect for me. Â Yet I've "merged" all the admin-files and all files in the catalog sub-directories, remaining the shopping_cart and the product_info. Â I've also contacted conte but he is too busy (damned) :( Â Hopefully it will work, but to be honest I'm not very optimistic Quote Link to comment Share on other sites More sharing options...
pilot1 Posted April 10, 2003 Share Posted April 10, 2003 This is tricky and a bit of guess work! Â I'm going backward and forewards between the changed and original files on the same mod and then the changes between the two mods, then trying them on the server to see if it throws up! thats happened only once so far! Quote What goes up MUST come down Link to comment Share on other sites More sharing options...
redman Posted April 10, 2003 Share Posted April 10, 2003 Have you done the catalog/product_info? Â conte uses beginning from line approx 120 with 5 different cases, my idea now is two add chandras as case 6, what do you think??? :?: :idea: :?: Quote Link to comment Share on other sites More sharing options...
pilot1 Posted April 10, 2003 Share Posted April 10, 2003 This what I have  <?php if ($products_attributes == '1') { $products_options_name = tep_db_query("select distinct popt.products_options_id, popt.products_options_name, patrib.options_type_id from " . TABLE_PRODUCTS_OPTIONS . " popt, " . TABLE_PRODUCTS_ATTRIBUTES . " patrib where patrib.products_id='" . $HTTP_GET_VARS['products_id'] . "' and patrib.options_id = popt.products_options_id and popt.language_id = '" . $languages_id . "' and patrib.options_type_id > 0 group by popt.products_options_name order by patrib.attribute_order, patrib.options_type_id, popt.products_options_name"); echo '<b>' . TEXT_PRODUCT_OPTIONS . '</b><br>'; echo '<table border="0" cellpading="0" cellspacing"0">'; while ($products_options_name_values = tep_db_fetch_array($products_options_name)) { //dogu 2003-02-28 BEGIN Add if statement to check product option type. If add more option types, then change this to a case statement. if ($products_options_name['products_options_type'] == PRODUCTS_OPTIONS_TYPE_TEXT) { // dogu 2003-02-28 add query to pull attribute price and price_prefix $products_attribs_query = tep_db_query("select distinct patrib.options_values_price, patrib.price_prefix from " . TABLE_PRODUCTS_ATTRIBUTES . " patrib where patrib.products_id='" . (int)$HTTP_GET_VARS['products_id'] . "' and patrib.options_id = '" . $products_options_name['products_options_id'] . "'"); $products_attribs_array = tep_db_fetch_array($products_attribs_query); echo '<tr><td class="main">' . $products_options_name['products_options_name'] . ': </td><td class="main"><input type="text" name ="id[' . TEXT_PREFIX . $products_options_name['products_options_id'] . ']" size="' . $products_options_name['products_options_length'] .'" maxlength="' . $products_options_name['products_options_length'] . '" value="' . $cart->contents[$HTTP_GET_VARS['products_id']]['attributes_values'][$products_options_name['products_options_id']] .'"> ' . $products_options_name['products_options_comment'] ; if ($products_attribs_array['options_values_price'] != '0') { echo '(' . $products_attribs_array['price_prefix'] . $currencies->display_price($products_attribs_array['options_values_price'], $product_info_values['products_tax_class_id']) .') '; } echo '</td></tr>'; } else { //dogu 2003-02-28 END Add if statement to check product option type. // dogu 2003-02-28 insert closing bracket due to if statement }  Do'nt know if it works yet! code lines are wrapped , needs line breaks put back Quote What goes up MUST come down Link to comment Share on other sites More sharing options...
redman Posted April 10, 2003 Share Posted April 10, 2003 Unfortunately I receive parse errors from the catalog/shopping_cart now when visiting the homepage, F..K. enough for today Quote Link to comment Share on other sites More sharing options...
pilot1 Posted April 10, 2003 Share Posted April 10, 2003 How you getting Barry? Â I'm half way through! I think? Quote What goes up MUST come down Link to comment Share on other sites More sharing options...
Guest Posted April 10, 2003 Share Posted April 10, 2003 About half an hour and i'll have a look at it, been up to my eyeballs in it all day. Â cheers barry Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.