Jump to content

All Activity

This stream auto-updates     

  1. Past hour
  2. Thank you, Matt (ecartz) 💋 I placed the script below on the top of the page: define('CURRENT_YEAR', date('Y')); // to express the year without having to change the const MATC_PRIVACY_MODAL_TEXT = ' to define('MATC_PRIVACY_MODAL_TEXT' Then I placed the script below within the line of text on the page: const MATC_PRIVACY_MODAL_TEXT = 'My text Blah ' . CURRENT_YEAR . ' blah'; And presto it *** Worked perfectly ***
  3. Today
  4. The very older versions of oscommerce, the only way to tell which version it is is to look in the files. But from your description, it sounds like one of the first. The php version is very old. As you can see on this page, support for it was stopped 12 years ago. I'm truly surprised your site is not being regularly hacked. But if it is working for you and you are not having problem and your host continues to offer that version of php, then it will continue to work as it is. Although any Paypal modules installed will not work due to changes at Paypal. There is an addon called the Paypal App that is used for Paypal and it can work in some older versions of oscommerce so if you don't want to upgrade oscommerce and you want to use Paypal, that would have to be installed. The only way to delete customers in bulk is either through the database, which is difficult, or with use of an addon. My Database Optimizer addon will do it but I don't know which version to recommend. The early versions didn't have the option to remove customers and the later versions probably won't work in your shop. There may be some other addon that does this that is compatible with your shop but I am not aware of any,
  5. I may adapt this to show on my invoices as at present any order comments just sort of blend in. Something to look into.
  6. hungryfrank

    Express checkout 1_2 pages

    😂😂😂 I will look at them
  7. raiwa

    Express checkout 1_2 pages

    I agree that it should, but unfortunately it doesn't.
  8. hello again it is oscommerce 2.2, php version 4.4.0 no idea what this means or if this is helpful on another note....any idea how i can bulk delete customers on the admin page??? right now i can only do it one by one and it takes ages to get hundreds of customers done..... thanks alot
  9. hungryfrank

    Express checkout 1_2 pages

    this is a pretty simple thing. I originally made the fec checkout. years ago. I think it was the first before I got banned 😂😂😂 I just put the two form element in one page.and the processing also. just copy and paste.
  10. hungryfrank

    Express checkout 1_2 pages

    this should work with all modules and add-ons. there is a line in the original code that is commented out and I uncommented it which created this problem and only when there is only one shipping method. I will work one the rest. thx for the help.
  11. ecartz

    Express checkout 1_2 pages

    That's probably me rather than the App. I.e. the core 1.0.5.6 has that problem.
  12. raiwa

    Express checkout 1_2 pages

    Hi Frank @hungryfrank, I gave this a try on a Phoenix 1.0.5.6 test store without any other modifications. trying to add a new address throws a fatal error in checkout_shipping(payment)_address.php new address form paypal express and direct payment doesn't work. Throws errors stripe sca doesn't work. It jumps over the confirmation page, no opportunity to enter credit card many undefined notice an warning errors usps shipping seems not to work minor suggestion: use standard naming for constants in the header tag module and remove unused/uncommented code lines suggestion: not sure if it makes sense to include additional features like print order option, might be better to pack it separate suggestion: use the core agree to terms switch like in checkout_confirmation.php instead of the old tick box try to debug with error reporting set to "ALL" I know that it's not easy to get this working and your effort is much appreciated, but without support for widely used payment and shipping modules it is not really useful for the mayority of stores.
  13. Thank you all, it will take me a while to get some time to try these options but I will reply back with how it goes Many thanks to all that gave input
  14. @SCH_001, The easiest way might be to add a check to Steve's solution which marks only the comments with status id=1 which is in a standard installation the status used for to add customer comments: The whole block would look then like this (around lines 380-389 in FROZEN): while ($orders_history = tep_db_fetch_array($orders_history_query)) { echo ' <tr class="dataTableRow">' . "\n" . ' <td class="dataTableContent" valign="top">' . tep_datetime_short($orders_history['date_added']) . '</td>' . "\n" . ' <td class="dataTableContent" valign="top">' . $orders_status_array[$orders_history['orders_status_id']] . '</td>' . "\n"; if ($orders_history['orders_status_id'] == 1) { echo ' <td class="dataTableContent" valign="top"><mark>' . nl2br($orders_history['comments']) . '<mark>&nbsp;</td>' . "\n"; } else { echo ' <td class="dataTableContent" valign="top">' . nl2br($orders_history['comments']) . '&nbsp;</td>' . "\n"; } echo ' <td class="dataTableContent" valign="top" align="right">';
  15. hungryfrank

    Express checkout 1_2 pages

    try checkout_payment_exp.php and shop4-5.
  16. OP Wants ONLY the customer comment to be highlited.
  17. tony34567

    Google reCAPTCHA v3

    Hi Ruden Thanks for recaptcha v3 addon , i successfully install on my old website and it works great Installed Version: osCommerce Online Merchant v2.3.3 . I did a fresh install of this addon on a new site Installed Version: osCommerce Online Merchant v2.3.4.1 CE. i installed hook addon as well but when i click HOOK in admin//modules_hooks.php a blank page appears. Also website home page bring HTTP ERROR 500 . what i am doing wrong , can you guide me please. Thanks
  18. the point is making comments stands out, or only making customers comment stand out. If it was me, I would pick your solution. since both comments are equally important, and simple is always better.
  19. Yesterday
  20. There you go. I said there would be another way of doing it.
  21. Hi, I only use underscore "_" in the product_model field not "-"
  22. Omar_one

    Free shipping mode

    I am using this on our shop (Frozen) and working well, ,, I still not try it on Phoenix .. its need some change on the core code.
  23. Steve's suggestion would highlite all comments. If you wish to highlite only the customers comment, the easiest way would be to add the html tags already when the customers comments are saved to the database. In checkout_process.php around line 139, add the tags: 'comments' => '<mark>' . $order->info['comments'] . '</mark>'); You need to do this also for payment modules which pypass checkout_process.php order processing like paypal standard. Then in admin/orders.php you have to remove "tep_db_output" in aprox. line 384: ' <td class="dataTableContent" valign="top">' . nl2br($orders_history['comments']) . '&nbsp;</td>' . "\n" . And then in account_history_info.php you'll have to filter out the html tags with strip_tags() line 182: echo ' <p>' . (empty($statuses['comments']) ? '&nbsp;' : '<blockquote>' . nl2br(tep_output_string_protected(strip_tags($statuses['comments']))) . '</blockquote>') . '</p>'; You probably need to remove the tags also in the admin order update mails. I'll leave this to you to find out 🙂
  24. You need to find the relevant bit of code in the admin/orders.php page and add <mark></mark> after the opening <td> and before the closing </td> if you want the whole bit of text highlighted, or you could try narrowing it down to just the line that you need highlighted. I cant remember if mine is standard or whether its been changed but look for something similar to <td class="smallText">' . nl2br(tep_db_output($orders_history['comments'])) . '&nbsp;</td>' . "\n" . and change it to <td class="smallText"><mark>' . nl2br(tep_db_output($orders_history['comments'])) . '&nbsp;</mark></td>' . "\n" . Hopefully that will give you a bit of an idea where to look in the code, but I expect someone will be along soon to tell you the right way to do it.
  25. valquiria23

    SiteMonitor

    Hi Jack, Thank you very much for your complete and detailed explanation. I'm going to give that thing a try. as always you give excellent support Jack, congratulations BR Valqui
  26. Uploaded Versión 1.0.5.6. for OSCOM CE Phoenix 1.0.5.6. Español para OsC CE
  27. raiwa

    Admin : categories.php slow loading

    If you have other mods, possible. But it shouldn't be difficult to adapt. If you wish, post the relevant snippet and I'll have a look.
  1. Load more activity
×