Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

reflex-ocasion

Members
  • Posts

    71
  • Joined

  • Last visited

  • Days Won

    2

reflex-ocasion last won the day on January 3 2018

reflex-ocasion had the most liked content!

2 Followers

About reflex-ocasion

  • Birthday 07/23/1968

Profile Information

Recent Profile Visitors

16,382 profile views

reflex-ocasion's Achievements

  1. I imagine you need it INSIDE the drop-down menu, right? Right now I'm busy, I'm sorry, as soon as I can, I get to it.
  2. Something fast Edit catalog/includes/modules/boxes/bm_manufacturers.php Search lines 65, 66 and 67 $data = tep_draw_form('manufacturers', tep_href_link('index.php', '', $request_type, false), 'get') . tep_draw_pull_down_menu('manufacturers_id', $manufacturers_array, (isset($_GET['manufacturers_id']) ? $_GET['manufacturers_id'] : ''), 'onchange="this.form.submit();" size="' . MAX_MANUFACTURERS_LIST . '" style="width: 100%"') . tep_hide_session_id() . '</form>'; Add below $data .= '<a href="' . tep_href_link('allmanufacturers.php') . '">' . MODULE_BOXES_MANUFACTURER_BOX_ALLMANUFACTURERS . '</a>'; Add to language file catalog/includes/languages/english/modules/boxes/bm_manufacturers.php define('MODULE_BOXES_MANUFACTURER_BOX_ALLMANUFACTURERS', 'All Manufacturers'); It would be necessary to polish the code but as it is something quick... Best regards from Spain
  3. More errors. When creating a return from the admin there are two errors in the email that is sent to the client. Edit catalog/admin/return_create.php Search $email_link = tep_href_link('returns_track.php', '', 'SSL', false); Replace the part that says tep_href_link by tep_catalog_href_link Not making this change causes the email to leave the access path to our admin. In the same file search $email_text .= EMAIL_TEXT_RETURNS_THANKS . EMAIL_TEXT_RETURNS_SENT . EMAIL_TEXT_RETURNS_CLOSE . EMAIL_TEXT_RETURNS_CONTACT_OPEN . EMAIL_TEXT_RETURNS_WARNING; eliminate the part that says EMAIL_TEXT_RETURNS_CONTACT_OPEN, that definition does not exist anymore Do exactly the same in the file catalog/return_product.php I have not found more errors. That does not mean that there are not.
  4. @pete2007 I just duplicated the emails. I'm sorry if there has been any misunderstanding, at least on my part.
  5. standard_ipn It does not show the order number, so I deleted that part of that file. I have tried all possible combinations and it is the only one that works for me. It is more than likely that whoever uses other modules needs to do it the other way as I say, I will not discuss that. In Spain it is necessary to include the tax identification number of the client in the invoice that goes over 100 euros and for that I have to modify the module to include the field and to leave. With the other payment modules is not necessary, only with PayPal. Based on that, I can not just replace an old file with a new one of an update. I have to compare both files and add in the new what is in the old (not all, obviously), that's why there are two files that send emails, before there was only one and it was paypal_standard.
  6. I have always used PayPal Standard, no other version. There are two files that send emails, catalog/includes/modules/payment/paypal_standard.php and catalog/ext/modules/payment/paypal/standard_ipn.php. There are no more files that send emails. At first I received the duplicate emails until I commented the whole block in the second file. Since then I have not received a duplicate email again and this has been more than a year. The first file shows the order number in the email. The second file does not show it, that's why I commented it. Seach in catalog/ext/modules/payment/paypal/standard_ipn.php from // lets start with the email confirmation $email_order = STORE_NAME . "\n" . Until // send emails to other people if (SEND_EXTRA_ORDER_EMAILS_TO != '') { tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); } and comment or delete everything This works for me, I do not receive duplicate emails since I did it. I hope that helps.
  7. Thanks for this update!

  8. I am sorry for my bad english. I have corrected another error in the admin/returns.php file. When you have more than one return and you edit the first one, there is no problem. The problem occurs when you have to select another return from the list and click on the edit button. Log in by repeating over and over again the store header below the tabs. To solve search (line 809) $contents[] = array('align' => 'center', 'text' => tep_draw_button(IMAGE_EDIT, 'document', tep_href_link('returns.php', tep_get_all_get_params(array('rID', 'action')) . 'rID=' . $rInfo->returns_id . '&action=edit&oID=' . $rInfo->orders_id)) . tep_draw_button(IMAGE_DELETE, 'trash', tep_href_link('returns.php', tep_get_all_get_params(array('rID', 'action')) . 'rID=' . $rInfo->returns_id . '&action=delete'))); and replace with this $contents[] = array('align' => 'center', 'text' => tep_draw_button(IMAGE_EDIT, 'document', tep_href_link('returns.php', 'rID=' . $rInfo->returns_id . '&action=edit&oID=' . $rInfo->orders_id)) . tep_draw_button(IMAGE_DELETE, 'trash', tep_href_link('returns.php', tep_get_all_get_params(array('rID', 'action')) . 'rID=' . $rInfo->returns_id . '&action=delete'))); Actually what we have done is eliminate tep_get_all_get_params(array('rID', 'action')) that was over and is what causes the loop.
  9. Sorry for my bad English. I changed the buttons tep_image_button by tep_draw_button in admin/returns_reasons.php and admin/refund_methods.php In admin/returns_reasons.php you can not delete a reason, it gives an error and I have solved it in another way. I was looking for an erroneous table in the database. On line 68: $status_query = tep_db_query("select count(*) as count from returned_products where returns_status = '" . tep_db_input($oID) . "'"); Line 79 and successive still continues and is corrected as well: $history_query = tep_db_query("select count(*) as count from returns_status_history where returns_status_id = '" . (int)$oID . "'"); I include the modified files for verification. I have also translated it into the Spanish language, in case someone is interested. They are not included here. returns_reasons.php refund_methods.php
  10. For me it is important to know if a client is in the PC version or mobile version. Search the file footer.php Mobile version require(DIR_WS_INCLUDES . 'counter.php'); Add below require(DIR_WS_FUNCTIONS . 'whos_online.php'); tep_update_whos_online(); Thus will on whos_online admin who is viewing the products and that version. Just look at the difference between product-p-123.html and product-mp-123.html for instance.
  11. I'm reading the whole thread from the beginning and go on page 40... Using version 5.1 (rev3) of this contribution in 2.2rc2a and I will not change after the problems I've had, I've solved some fast but not others. I have not read about it or any solution as of today I have seen nothing published. From the mobile version of a product without problem redirects to the classic version, or PC version as I call it. Upside does not work because of ULTIMATE Seo Urls by chemo, or so I thought because after hayar a solution that works for me I think the error is caused Header Tags SEO. The solution I've found to work both ways catalog/includes/application_top.php is added to the following: if ($url_basename == $products['products_head_title_tag']) { $mobile_site = str_replace($products['products_head_title_tag'], 'mobile_product_info.php', $_SERVER['REQUEST_URI']); } Obviously this contribution files have in the root, are not located in the mobile folder. I assume that will have to adapt to whoever has the files and placed in the mobile folder. Hope that helps those in need!
  12. Me too gave me this error when changing hosting. After much searching the internet I found the solution and I have published as a new version. Also I have to say that the error that can not be written in the header is not such error itself. When an update is made, for example to change the status of the order, usually leaves a message on the header type messageStack right? because if you can not make that update whatever reason leave the error message warning that you can not modify the header because it is not established a specific error message in such cases, leaves the error message that causes us concern and we does try to solve a problem that does not exist as such. Sorry for my bad English, use a translator does not always work correctly.
  13. I have 2.2rc2a version of osC and version 1.4.1 of this fantastic contribution longtime. Just had a country to sell and I recently had to add another. To my surprise I noticed that when you change country refresh_form function does not work. I have installed over 150 contributions in each of my stores and I have to be careful with javascript and ajax, too often in conflict with each other and do not work, so I am forced to look for other options as simple as possible. I can not use AJAX for this reason. I found this solution hopefully help anyone who has the same problem as me and does not want to or can not upgrade version. Basically is to eliminate the function of form_check.js.php refresh_form (if does not work is useless you are in this file) and add it create_account.php, address_book_process.php, checkout_shipping_address.php and checkout_payment_address.php which are the files you really need the function to work. Delete from catalog/includes/modules/form_check.js.php (for osC 2.2rc2a) <?php // +Country-State Selector ?> function refresh_form(form_name) { form_name.action.value = 'refresh'; form_name.submit(); return true; } <?php // -Country-State Selector ?> Find in catalog/create_account.php and catalog/address_book_process.php (for osC 2.2rc2a) <link rel="stylesheet" type="text/css" href="stylesheet.css"> And add below <?php // +Country-State Selector ?> <script language="javascript"><!-- var selected; function refresh_form(form_name) { form_name.action.value = 'refresh'; form_name.submit(); return true; } //--></script> <?php // -Country-State Selector ?> Find in catalog/checkout_shipping_address.php and catalog/checkout_payment_address.php (for osC 2.2rc2a) //--></script> <?php require(DIR_WS_INCLUDES . 'form_check.js.php'); ?> And add above <?php // +Country-State Selector ?> function refresh_form(form_name) { form_name.action.value = 'refresh'; form_name.submit(); return true; } <?php // -Country-State Selector ?> This works correctly as refresh_form function. Sorry for bad translation, I do not speak English and use a translator online. Best regards from Spain!
  14. I reopen the thread because I have the same problem now. It worked fine until I changed hosting. I searched and the only solution that works for me is to add @ before number_format($order->totals[$i]['value'], 2, '.', '') But not to be stuck, has this separately, It must be well @ number_format($order->totals[$i]['value'], 2, '.', '') This is the full line edit_orders.php and edit_orders_ajax.php <td align="right" class="dataTableContent"><input name="update_totals['.$i.'][value]" id="'.$id.'[value]" value="' . @ number_format($order->totals[$i]['value'], 2, '.', '') . '" size="6" onChange="obtainTotals()"><input name="update_totals['.$i.'][class]" type="hidden" value="' . $order->totals[$i]['class'] . '"><input name="update_totals['.$i.'][id]" type="hidden" value="' . $shipping_module_id . '" id="' . $id . '[id]"></td>' . "\n";
  15. Unfortunately I have to uninstall and install another contribution distinct contribution. Within 24 hours I received over 1.200 emails of error because of google. I put here three examples: Sitio web: http://www.mysite.com Codigo de error: 404 - No encontrada Fecha y hora de la incidencia: 13/09/2012 21:56:43 URL solicitada: http://www.mysite.com/mobile_shop_by_price.php?osCsid=sa0r6696ob0fjk5k6l45tpjs80&range=3&osCsid=sa0r6696ob0fjk5k6l45tpjs80&language= IP del usuario: 66.249.72.66 Navegador del usuario: Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) Referencia: Sitio web: http://www.mysite.com Codigo de error: 404 - No encontrada Fecha y hora de la incidencia: 13/09/2012 21:58:44 URL solicitada: http://www.mysite.com/mobile_ask_a_question.php?products_id=34 IP del usuario: 66.249.72.90 Navegador del usuario: Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) Referencia: Sitio web: http://www.mysite.es Codigo de error: 404 - No encontrada Fecha y hora de la incidencia: 13/09/2012 21:41:52 URL solicitada: http://www.mysite.es/mobile_reviews.php IP del usuario: 66.249.72.54 Navegador del usuario: Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) Referencia: Google is looking for three files that do not exist: mobile_shop_by_price.php, mobile_ask_a_question.php and mobile_reviews.php The first and the second may be because I have installed these contributions, but what about the third mistake? I have tried everything to prevent further searching those files that do not exist, but nothing works, google insists on looking for them. I can not allow my hosting account lockout me because of this contribution, sorry, every mistake is an email that I receive and I should have jumped antispam alarms When these problems are resolved erroneous indexing by google'll install this fantastic contibución, but until then...
×
×
  • Create New...