yeahyeahyeah Posted August 9, 2005 Share Posted August 9, 2005 has anyone encountered the problem i'm having... add only the TEXT option type to a product, and it never applies itself to the product in your cart. a TEXT option type works as long as I have some other type of option simultaneously available Quote Link to comment Share on other sites More sharing options...
yeahyeahyeah Posted August 9, 2005 Share Posted August 9, 2005 has anyone encountered the problem i'm having...add only the TEXT option type to a product, and it never applies itself to the product in your cart. a TEXT option type works as long as I have some other type of option simultaneously available <{POST_SNAPBACK}> i might add that i have qt pro installed too Quote Link to comment Share on other sites More sharing options...
CAnneB2 Posted August 11, 2005 Share Posted August 11, 2005 (edited) I've fixed my problem. If anyone has similar experience, there is a line that needs to be changed: Around line 145 of includes/classes/shopping_cart.php: // update database if (tep_session_is_registered('customer_id')) tep_db_query("update " . TABLE_CUSTOMERS_BASKET . " set customers_basket_quantity = '" . $quantity . "' where customers_id = '" . (int)$customer_id . "' and products_id = '" . tep_db_input($products_id) . "'"); Change to: // update database if (tep_session_is_registered('customer_id')) tep_db_query("update " . TABLE_CUSTOMERS_BASKET_ATTRIBUTES . " set products_options_value_id = '" . (int)$value . "', products_options_value_text = '" . tep_db_input($attr_value) . "' where customers_id = '" . (int)$customer_id . "' and products_id = '" . tep_db_input($products_id) . "' and products_options_id = '" . (int)$option . "'"); Chris B. Hi all, I've got this contrib installed and it's been working on my site - off & on. The only option I am using is the "textarea" box for gift card messages. My problem is this: 1) Customer selects product #1 2) Types in message 3) Continues to shop 4) Selects product #2 5) Types in message 6) Goes to shopping cart 7) Realizes they don't want item #1, so they select "Remove" and clicks on "Update Cart" button The Problem: The text from the textarea box will disappear from the remaining product in their cart. You can test at My Site, but please do not complete orders because the site is *LIVE*. (Unless, of course, you see something you like. :D ) You shouldn't have to create an account to see your shopping cart, so you will be anonymous. Any and all help would be greatly appreciated! Chris B. <{POST_SNAPBACK}> Edited August 11, 2005 by CAnneB2 Quote Link to comment Share on other sites More sharing options...
PopTheTop Posted August 11, 2005 Share Posted August 11, 2005 You the man! Quote L8r, PopTheTop Published osC Contributions: - eCheck Payment Module v3.1 - Reviews in Product Display v2.0 - Fancier Invoice & Packingslip v6.1 - Admin Notes / Customer Notes v2.2 - Customer Zip & State Validation v2.2 - Search Box with Dropdown Category Menu v1.0 Pop your camper's top today! It's a popup thing... You wouldn't understand Link to comment Share on other sites More sharing options...
Guest Posted August 11, 2005 Share Posted August 11, 2005 alrighty ... I know that there are a lot of posts regarding the sort, but I just cannot seem to get the sort to work ... can anyone take a look at the code and let me know if I'm missing something please???? case PRODUCTS_OPTIONS_TYPE_CHECKBOX: //CLR 030714 Add logic for checkboxes $products_attribs_query = tep_db_query("select distinct patrib.options_values_id, 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'] . "' order by options_values_id ASC"); $products_attribs_array = tep_db_fetch_array($products_attribs_query); echo '<tr><!-- <td align="center"><font color="#0000FF" face="Verdana, Arial, Helvetica, sans-serif">' . $products_options_name['products_options_name'] . ': </font></td> --><td><font color="#0000FF" face="Verdana, Arial, Helvetica, sans-serif">'; echo tep_draw_checkbox_field('id[' . $products_options_name['products_options_id'] . ']', $products_attribs_array['options_values_id']); echo $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'], tep_get_tax_rate($product_info['products_tax_class_id'])) .') '; } echo '</font></td></tr>'; break; Thanks for any help!!!! Quote Link to comment Share on other sites More sharing options...
CluelessinNY Posted August 12, 2005 Share Posted August 12, 2005 Has anyone figured out the sort?? also how to I install images for radio buttons, and text? thanks ! alrighty ... I know that there are a lot of posts regarding the sort, but I just cannot seem to get the sort to work ... can anyone take a look at the code and let me know if I'm missing something please???? ? ? ? ? ?case PRODUCTS_OPTIONS_TYPE_CHECKBOX: ? ? ? ? ? ?//CLR 030714 Add logic for checkboxes ? ? ? ? ? ?$products_attribs_query = tep_db_query("select distinct patrib.options_values_id, 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'] . "' order by options_values_id ASC"); ? ? ? ? ? ?$products_attribs_array = tep_db_fetch_array($products_attribs_query); ? ? ? ? ? ?echo '<tr><!-- <td align="center"><font color="#0000FF" face="Verdana, Arial, Helvetica, sans-serif">' . $products_options_name['products_options_name'] . ': </font></td> --><td><font color="#0000FF" face="Verdana, Arial, Helvetica, sans-serif">'; ? ? ? ? ? ?echo tep_draw_checkbox_field('id[' . $products_options_name['products_options_id'] . ']', $products_attribs_array['options_values_id']); ? ? ? ? ? ?echo $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'], tep_get_tax_rate($product_info['products_tax_class_id'])) .') '; ? ? ? ? ? ?} ? ? ? ? ? ?echo '</font></td></tr>'; ? ? ? ? ? ?break; Thanks for any help!!!! <{POST_SNAPBACK}> Quote Link to comment Share on other sites More sharing options...
pleymo Posted August 14, 2005 Share Posted August 14, 2005 Hi I have just install this contribution it's exactly what I need I use it with image and I want to know haow can I do to display image in line example 2 lines of 6 products and not in one column here an example of what i want in this site:http://www.granthamintlsales.com/product_i...?products_id=91 thanks pleymo Quote Link to comment Share on other sites More sharing options...
EidolonNight Posted August 15, 2005 Share Posted August 15, 2005 Hey great contrib!! Is working fine, but i was wondering how do i make a suggested TEXT option. When the product_info.php is loaded, I would like the customer to see the "add engraving" text option, but have maybe the product name already filled in the box as a suggestion for the value. Has anyone tried this or know how to make it work! Thanks in advance James Quote James Tomasello Link to comment Share on other sites More sharing options...
EidolonNight Posted August 15, 2005 Share Posted August 15, 2005 ok I spoke too soon... When I decided to add a new product for the first time after installing this contrib I noticed that the "products name" and "products description" input fields and name are gone from the screen but not from the code. Everything else is there, no errors just those fields are missing... any clue? <?php echo tep_draw_form('new_product', FILENAME_CATEGORIES, 'cPath=' . $cPath . (isset($HTTP_GET_VARS['pID']) ? '&pID=' . $HTTP_GET_VARS['pID'] : '') . '&action=new_product_preview', 'post', 'enctype="multipart/form-data"'); ?> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading"><?php echo sprintf(TEXT_NEW_PRODUCT, tep_output_generated_category_path($current_category_id)); ?></td> <td class="pageHeading" align="right"><?php echo tep_draw_separator('pixel_trans.gif', HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?></td> </tr> <tr> <td><table border="0" cellspacing="0" cellpadding="2"> <tr> <td class="main"><?php echo TEXT_PRODUCTS_STATUS; ?></td> <td class="main"><?php echo tep_draw_separator('pixel_trans.gif', '24', '15') . ' ' . tep_draw_radio_field('products_status', '1', $in_status) . ' ' . TEXT_PRODUCT_AVAILABLE . ' ' . tep_draw_radio_field('products_status', '0', $out_status) . ' ' . TEXT_PRODUCT_NOT_AVAILABLE; ?></td> </tr> <tr> <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?></td> </tr> <tr> <td class="main"><?php echo TEXT_PRODUCTS_DATE_AVAILABLE; ?><br><small>(YYYY-MM-DD)</small></td> <td class="main"><?php echo tep_draw_separator('pixel_trans.gif', '24', '15') . ' '; ?><script language="javascript">dateAvailable.writeControl(); dateAvailable.dateFormat="yyyy-MM-dd";</script></td> </tr> <tr> <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?></td> </tr> <tr> <td class="main"><?php echo TEXT_PRODUCTS_MANUFACTURER; ?></td> <td class="main"><?php echo tep_draw_separator('pixel_trans.gif', '24', '15') . ' ' . tep_draw_pull_down_menu('manufacturers_id', $manufacturers_array, $pInfo->manufacturers_id); ?></td> </tr> <tr> <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?></td> </tr> <?php if( empty($pInfo->products_id) ){ $iteration = 0; }else{ $getOptionsCount_query = tep_db_query('SELECT count( DISTINCT products_attributes_sets_id ) as count FROM '. TABLE_PRODUCTS_ATTRIBUTES_SETS_TO_PRODUCTS .' WHERE `products_id` ='.$pInfo->products_id); $arr_getOptionsCount = tep_db_fetch_array($getOptionsCount_query); $arr_pas_id = jjg_db_getAttributeSetId($pInfo->products_id); if( !empty($arr_pas_id) ){ $iteration = $arr_getOptionsCount['count']; } } for($i=0; $i <= $iteration; $i++){ ?> <tr> <td class="main"> <?php if( isset($pID) ){ if( $i == $iteration ){ echo "Add An " . TEXT_PRODUCTS_ATTRIBUTES_SET; }else{ echo "Using " . TEXT_PRODUCTS_ATTRIBUTES_SET; } } ?> </td> <td class="main"> <?php if( isset($pID) ){ if( $i == $iteration ){ echo tep_draw_separator('pixel_trans.gif', '30', '1'). '<a href="' . tep_href_link( FILENAME_PRODUCTS_ATTRIBUTES_SETS_EDIT, 'pID='.$_GET['pID'].'&cPath='.$_GET['cPath']) . '" >'. tep_image_button('button_add_as.gif', '[Click To Add An A.S.]' ) .'</a>'; }else{ echo tep_draw_separator('pixel_trans.gif', '24', '15') . ' '; echo $attribute_sets_names_array[$arr_pas_id[$i]]; echo tep_draw_separator('pixel_trans.gif', '24', '15'); echo tep_draw_checkbox_field('remove_products_attributes_sets_id_'.$i); echo "<font size=-3>(Remove Set)</font>"; echo tep_draw_hidden_field('products_attributes_sets_id_'.$i, $arr_pas_id[$i]); } } ?> </td> </tr> <?php } ?> <tr> <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?> <?php echo tep_draw_hidden_field('AttributeSetCount', $arr_getOptionsCount['count']+1); ?> </td> </tr> <?php for ($i=0, $n=sizeof($languages); $i<$n; $i++) { ?> <tr> <td class="main"><?php if ($i == 0) echo TEXT_PRODUCTS_NAME; ?></td> <td class="main"><?php echo tep_image(DIR_WS_CATALOG_LANGUAGES . $languages[$i]['directory'] . '/images/' . $languages[$i]['image'], $languages[$i]['name']) . ' ' . tep_draw_input_field('products_name[' . $languages[$i]['id'] . ']', (isset($products_name[$languages[$i]['id']]) ? $products_name[$languages[$i]['id']] : tep_get_products_name($pInfo->products_id, $languages[$i]['id']))); ?></td> </tr> <?php } ?> <tr> <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?></td> </tr> <tr bgcolor="#ebebff"> <td class="main"><?php echo TEXT_PRODUCTS_TAX_CLASS; ?></td> <td class="main"><?php $prices_num = tep_xppp_getpricesnum(); $gross_update = 'updateGross(\'products_price\');'; for ($i=2; $i<=$prices_num; $i++) $gross_update .= 'updateGross(\'products_price_'. $i . '\');'; echo tep_draw_separator('pixel_trans.gif', '24', '15') . ' ' . tep_draw_pull_down_menu('products_tax_class_id', $tax_class_array, $pInfo->products_tax_class_id, 'onchange="' . $gross_update .'"'); ?></td> </tr> <tr bgcolor="#ebebff"> <td class="main" colspan="2"><br><?php echo ENTRY_PRODUCTS_PRICE . " 1";?></td> </tr> <tr bgcolor="#ebebff"> <td class="main"><?php echo TEXT_PRODUCTS_PRICE_NET; ?></td> <td class="main"><?php echo tep_draw_separator('pixel_trans.gif', '24', '15') . ' ' . tep_draw_input_field('products_price', $pInfo->products_price, 'onKeyUp="updateGross(\'products_price\')"'); ?></td> </tr> <tr bgcolor="#ebebff"> <td class="main"><?php echo TEXT_PRODUCTS_PRICE_GROSS; ?></td> <td class="main"><?php echo tep_draw_separator('pixel_trans.gif', '24', '15') . ' ' . tep_draw_input_field('products_price_gross', $pInfo->products_price, 'OnKeyUp="updateNet(\'products_price\')"'); ?></td> </tr> <?php $prices_num = tep_xppp_getpricesnum(); for ($i=2; $i<=$prices_num; $i++) {?> <tr bgcolor="#ebebff"> <td class="main" colspan="2"><br><?php echo ENTRY_PRODUCTS_PRICE . " " . $i;?> <input type="checkbox" name="<?php echo "checkbox_products_price_" . $i;?>" <?php $products_price_X = "products_price_" . $i; if ($pInfo->$products_price_X != NULL) echo " checked "; ?> value="true" onClick="if (!<?php echo "products_price_" . $i;?>.disabled) { <?php echo "products_price_" . $i;?>.disabled = true; <?php echo "products_price_". $i . "_gross";?>.disabled = true; } else { <?php echo "products_price_" . $i;?>.disabled = false; <?php echo "products_price_". $i . "_gross";?>.disabled = false; } "></td> </tr> <tr bgcolor="#ebebff"> <td class="main"><?php echo TEXT_PRODUCTS_PRICE_NET; ?></td> <td class="main"><?php $products_price_X = "products_price_" . $i; if ($pInfo->$products_price_X == NULL) { echo tep_draw_separator('pixel_trans.gif', '24', '15') . ' ' . tep_draw_input_field('products_price_' . $i, $pInfo->$products_price_X, 'onKeyUp="updateGross(\'products_price_' . $i .'\')", disabled'); } else { echo tep_draw_separator('pixel_trans.gif', '24', '15') . ' ' . tep_draw_input_field('products_price_' . $i, $pInfo->$products_price_X, 'onKeyUp="updateGross(\'products_price_' . $i .'\')"'); } ?></td> </tr> <tr bgcolor="#ebebff"> <td class="main"><?php echo TEXT_PRODUCTS_PRICE_GROSS; ?></td> <td class="main"><?php $products_price_X = "products_price_" . $i; if ($pInfo->$products_price_X == NULL) { echo tep_draw_separator('pixel_trans.gif', '24', '15') . ' ' . tep_draw_input_field('products_price_'. $i . '_gross', $pInfo->$products_price_X, 'OnKeyUp="updateNet(\'products_price_' . $i .'\')", disabled'); } else { echo tep_draw_separator('pixel_trans.gif', '24', '15') . ' ' . tep_draw_input_field('products_price_'. $i . '_gross', $pInfo->$products_price_X, 'OnKeyUp="updateNet(\'products_price_' . $i .'\')"'); } ?> </td> </tr> <?php } ?> <tr> <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?></td> </tr> <script language="javascript"> updateGross('products_price'); <?php $prices_num = tep_xppp_getpricesnum(); for ($i=2; $i<=$prices_num; $i++) echo 'updateGross(\'products_price_' . $i . '\');'; ?> </script> <?php for ($i=0, $n=sizeof($languages); $i<$n; $i++) { ?> <tr> <td class="main" valign="top"><?php if ($i == 0) echo TEXT_PRODUCTS_DESCRIPTION; ?></td> <td><table border="0" cellspacing="0" cellpadding="0"> <tr> <td class="main" valign="top"><?php echo tep_image(DIR_WS_CATALOG_LANGUAGES . $languages[$i]['directory'] . '/images/' . $languages[$i]['image'], $languages[$i]['name']); ?> </td> <td class="main"><?php echo tep_draw_textarea_field('products_description[' . $languages[$i]['id'] . ']', 'soft', '70', '15', (isset($products_description[$languages[$i]['id']]) ? $products_description[$languages[$i]['id']] : tep_get_products_description($pInfo->products_id, $languages[$i]['id']))); ?></td> </tr> </table></td> </tr> <?php } ?> <tr> <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?></td> </tr> <tr> <td class="main"><?php echo TEXT_PRODUCTS_QUANTITY; ?></td> <td class="main"><?php echo tep_draw_separator('pixel_trans.gif', '24', '15') . ' ' . tep_draw_input_field('products_quantity', $pInfo->products_quantity); ?></td> </tr> <tr> <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?></td> </tr> <tr> <td class="main"><?php echo TEXT_PRODUCTS_MODEL; ?></td> <td class="main"><?php echo tep_draw_separator('pixel_trans.gif', '24', '15') . ' ' . tep_draw_input_field('products_model', $pInfo->products_model); ?></td> </tr> <tr> <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?></td> </tr> <tr> <td class="main"><?php echo TEXT_PRODUCTS_IMAGE; ?></td> <td class="main"><?php echo tep_draw_separator('pixel_trans.gif', '24', '15') . ' ' . tep_draw_file_field('products_image') . '<br>' . tep_draw_separator('pixel_trans.gif', '24', '15') . ' ' . $pInfo->products_image . tep_draw_hidden_field('products_previous_image', $pInfo->products_image); ?></td> </tr> <tr> <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?></td> </tr> <?php for ($i=0, $n=sizeof($languages); $i<$n; $i++) { ?> <tr> <td class="main"><?php if ($i == 0) echo TEXT_PRODUCTS_URL . '<br><small>' . TEXT_PRODUCTS_URL_WITHOUT_HTTP . '</small>'; ?></td> <td class="main"><?php echo tep_image(DIR_WS_CATALOG_LANGUAGES . $languages[$i]['directory'] . '/images/' . $languages[$i]['image'], $languages[$i]['name']) . ' ' . tep_draw_input_field('products_url[' . $languages[$i]['id'] . ']', (isset($products_url[$languages[$i]['id']]) ? $products_url[$languages[$i]['id']] : tep_get_products_url($pInfo->products_id, $languages[$i]['id']))); ?></td> </tr> <?php } ?> <tr> <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?></td> </tr> <tr> <td class="main"><?php echo TEXT_PRODUCTS_WEIGHT; ?></td> <td class="main"><?php echo tep_draw_separator('pixel_trans.gif', '24', '15') . ' ' . tep_draw_input_field('products_weight', $pInfo->products_weight); ?></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?></td> </tr> <tr> <td class="main" align="right"><?php echo tep_draw_hidden_field('products_date_added', (tep_not_null($pInfo->products_date_added) ? $pInfo->products_date_added : date('Y-m-d'))) . tep_image_submit('button_preview.gif', IMAGE_PREVIEW) . ' <a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . (isset($HTTP_GET_VARS['pID']) ? '&pID=' . $HTTP_GET_VARS['pID'] : '')) . '">' . tep_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>'; ?></td> </tr> </table></form> From what i see it should work... what am i overlooking? Quote James Tomasello Link to comment Share on other sites More sharing options...
EidolonNight Posted August 15, 2005 Share Posted August 15, 2005 I got it!! I must have erased this from the file. $languages = tep_get_languages(); if (!isset($pInfo->products_status)) $pInfo->products_status = '1'; switch ($pInfo->products_status) { case '0': $in_status = false; $out_status = true; break; case '1': default: $in_status = true; $out_status = false; } is working again!! Quote James Tomasello Link to comment Share on other sites More sharing options...
pleymo Posted August 16, 2005 Share Posted August 16, 2005 Has anyone figured out the sort?? also how to I install images for radio buttons, and text? thanks ! <{POST_SNAPBACK}> Hello Images for radio buttons you have just to put html code for insert image in the text field <img src=images/image.jpg> nameoptional exactly like this without blank and quote And I search too how sort attribut :rolleyes: Quote Link to comment Share on other sites More sharing options...
themainebaby Posted August 31, 2005 Share Posted August 31, 2005 I just installed this and it works great, except, for some reason, my manufacturer name is missing from the desciption. I'm not even really sure what file to look in to find it...or what file to post so that people can help me... Quote Link to comment Share on other sites More sharing options...
greenfrg Posted September 3, 2005 Share Posted September 3, 2005 Sort Order...again! I've seen a lot of posts relating to this problem and several suggested hacks, but no clear answers as to why we can't get product options to sort correctly. It goes without saying I'm also having the same problem and I've tried every suggestion posted in this forum with no success. This is a pretty well reported issue so I'm wondering if we can have a show of hands from anyone who is working on a solution to this problem? As a non programmer I'm afraid I can't offer much help, but I'll be happy to test anything that might fix this problem. Thanks in advance. Quote Link to comment Share on other sites More sharing options...
Hondo Posted September 9, 2005 Share Posted September 9, 2005 Sort Order...again! I've seen a lot of posts relating to this problem and several suggested hacks, but no clear answers as to why we can't get product options to sort correctly. It goes without saying I'm also having the same problem and I've tried every suggestion posted in this forum with no success. This is a pretty well reported issue so I'm wondering if we can have a show of hands from anyone who is working on a solution to this problem? As a non programmer I'm afraid I can't offer much help, but I'll be happy to test anything that might fix this problem. Thanks in advance. <{POST_SNAPBACK}> I?m searching for a way to sort the product options, too. I installed "Option Type Feature" and "Attribute Copier". To create different Options with Text, DropDown, RadioButton etc. is very comfortable now. As well as to sort the order of Attributes e.g. within a Dropdown. But I can?t see no way to sort the options. Quote Link to comment Share on other sites More sharing options...
homewetbar Posted September 15, 2005 Share Posted September 15, 2005 This has been an absolute nightmare to install, but I'm almost there I can see the light at the end of the tunnel now I think. However I seem to be having a problem in the shopping cart when I add more items than are currently available to my cart (I allow checkout even with insufficent stock) then it goes crazy and displays this error: 1064 - You have an error in your SQL syntax near '{txt_5}my name ' at line 1 select products_id, last_one FROM products where products_id = 81{txt_5}my name Any idea on what is causing this, or has anyone experience simular? Quote Most Valuable OsCommerce Contributions: Also Purchased (AP) Preselection (cuts this resource hogging query down to nothing) -- Contribution 3294 FedEx Automated Labels -- Contribution 2244 RMA Returns system -- Contribution 1136 Sort Products By Dropdown -- Contribution 4312 Ultimate SEO URLs -- Contribution 2823 Credit Class & Gift Voucher -- Contribution 282 Cross-Sell -- Contribution 5347 Link to comment Share on other sites More sharing options...
Gidgidonihah Posted September 15, 2005 Share Posted September 15, 2005 I searched around a bit for the answer to my problem, but wasn't able to find it. Here is what it is. I have an item with text boxes and a text area. I fill them out and add it to the cart. Then I click on the item becuase I want to change what it says in the textarea. The link takes me back to the item with all the attributes correctly filled in EXCEPT for the textarea. The textboxes work fine, but the textarea doesn't have anything in it. Any help would be appreciated. Thanks. Quote Installed contributions: * Order Editor, A simple 2 picture size patch, Ad Tracker, Admin Reports Count Reset, All Products, Continue Shopping 'Fix', Control New Products module for 2.2-MS2, Credit Class & Gift Voucher, Custom HTTP Error Page, Fancier Invoice & Packingslip v1.0, FedEx, UPS, and USPS Package Tracking (HTML Versions), Header Tags Controller, Heading Title, LoginBox-Secure Login & Forgotten Password link, Monthly Sales Report, Newsletter & Subscribers, Product Attributes - Option Type Feature, Recover Cart Sales, RMA Returns 2.5c, RSS Feed 0.1, Search Enhancements, SEO Assistant, Super Friendly Admin Menu, Who's Online Enhancement Link to comment Share on other sites More sharing options...
travisb Posted September 18, 2005 Share Posted September 18, 2005 I have had this contribution installed for a while now. However, I have one problem I have been unable to solve. Whenever someone fills in a text field, the text they entered shows up in the cart, but it does not show the "name" of the text field in the cart or in the admin. This gets confusing when you have more than 1 text field available per product. Take a look at this link and enter some text into the fields. You will see that the drop-down field names are listed in the cart, but not the text ones. http://www.shophsj.com/product_info.php/cP.../products_id/65 Does anyone have a solution for this? Thanks, Travis Quote Link to comment Share on other sites More sharing options...
homewetbar Posted September 18, 2005 Share Posted September 18, 2005 I have had this contribution installed for a while now. However, I have one problem I have been unable to solve. Whenever someone fills in a text field, the text they entered shows up in the cart, but it does not show the "name" of the text field in the cart or in the admin. This gets confusing when you have more than 1 text field available per product. Take a look at this link and enter some text into the fields. You will see that the drop-down field names are listed in the cart, but not the text ones. http://www.shophsj.com/product_info.php/cP.../products_id/65 Does anyone have a solution for this? Thanks, Travis <{POST_SNAPBACK}> After reading this entire forum last week looking for my answers I can say with certainty you mis-installed something or missed one of the lines. It is poorly documented so you need to use a file checker to find all the changed lines because they are not all labeled. Quote Most Valuable OsCommerce Contributions: Also Purchased (AP) Preselection (cuts this resource hogging query down to nothing) -- Contribution 3294 FedEx Automated Labels -- Contribution 2244 RMA Returns system -- Contribution 1136 Sort Products By Dropdown -- Contribution 4312 Ultimate SEO URLs -- Contribution 2823 Credit Class & Gift Voucher -- Contribution 282 Cross-Sell -- Contribution 5347 Link to comment Share on other sites More sharing options...
fribhey Posted September 22, 2005 Share Posted September 22, 2005 I searched around a bit for the answer to my problem, but wasn't able to find it.Here is what it is. I have an item with text boxes and a text area. I fill them out and add it to the cart. Then I click on the item becuase I want to change what it says in the textarea. The link takes me back to the item with all the attributes correctly filled in EXCEPT for the textarea. The textboxes work fine, but the textarea doesn't have anything in it. Any help would be appreciated. Thanks. <{POST_SNAPBACK}> i'm having the same problem. i add a product to the cart, then click on it from the cart to update something in a textarea and when i get the the product info page the textarea box is blank BUt all the textboxes are still filled in... then when i reenter info in the textarea and hit add to cart a completely new item is entered into the cart and i have to remove the first item i wanted to edit. Quote Link to comment Share on other sites More sharing options...
yeahyeahyeah Posted September 28, 2005 Share Posted September 28, 2005 when I add a TEXT field as a sole attribute, it never shows up in the cart/checkout Quote Link to comment Share on other sites More sharing options...
homewetbar Posted September 28, 2005 Share Posted September 28, 2005 when I add a TEXT field as a sole attribute, it never shows up in the cart/checkout You likely mis-installed something or missed one of the lines. You need to use a file checker to find all the changed lines because they are not all labeled. Quote Most Valuable OsCommerce Contributions: Also Purchased (AP) Preselection (cuts this resource hogging query down to nothing) -- Contribution 3294 FedEx Automated Labels -- Contribution 2244 RMA Returns system -- Contribution 1136 Sort Products By Dropdown -- Contribution 4312 Ultimate SEO URLs -- Contribution 2823 Credit Class & Gift Voucher -- Contribution 282 Cross-Sell -- Contribution 5347 Link to comment Share on other sites More sharing options...
yeahyeahyeah Posted September 29, 2005 Share Posted September 29, 2005 You likely mis-installed something or missed one of the lines. You need to use a file checker to find all the changed lines because they are not all labeled. no i didn't BUT i did find the fix. it is in application_top.php //if (is_numeric($key) && $key==(int)$key && is_numeric($val) && $val==(int)$val)//comment this out to allow TEXT as a sole attribute...otherwise it is never applied to the cart maybe this contrib does not have this problem out of the box, but commenting this line out works with the contribs i have...and qt pro is the only one i can think of that deals with the same functionality Quote Link to comment Share on other sites More sharing options...
varnco Posted October 4, 2005 Share Posted October 4, 2005 ALmost got this 100% The text boxes that have the info for the order are showing correctly in the shopping cart and the order email. But, the words "TEXT" appear in the account history and the invoice pages - at least when they purchase using money order. Anyone else having this problem? I haven't tested paypal nor 2checkout yet. Quote Link to comment Share on other sites More sharing options...
jderix Posted October 6, 2005 Share Posted October 6, 2005 I've manage to get this working properly now, however i'm currently using checkboxes for my attributes and they are listed vertical like: Option 1 [] Option 2 [] Option 3 [] Option 4 [] What i would like to know is if it is possible to get them to be horizontal like: Option 1 [] Option 2 [] Option 3 [] Option 4 [] Quote Link to comment Share on other sites More sharing options...
varnco Posted October 7, 2005 Share Posted October 7, 2005 (edited) I've manage to get this working properly now, however i'm currently using checkboxes for my attributes and they are listed vertical like:Option 1 [] Option 2 [] Option 3 [] Option 4 [] What i would like to know is if it is possible to get them to be horizontal like: Option 1 [] Option 2 [] Option 3 [] Option 4 [] I think somewhere in these 17 pages of support someone asked the question, and someone provided a potential answer. ALmost got this 100% The text boxes that have the info for the order are showing correctly in the shopping cart and the order email. But, the words "TEXT" appear in the account history and the invoice pages - at least when they purchase using money order. Anyone else having this problem? I haven't tested paypal nor 2checkout yet. Okay, I've looked at the database of orders, and the text values are simply "TEXT", so they are not be written to the database for some reason. Odd thing is that the order email, the customer's email, and the shopping cart all have the text the customer entered. Any ideas where I can look? Which file actually writes the data to the database.. Edited October 7, 2005 by varnco 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.