Jump to content

Hotclutch

Members
  • Content count

    2,392
  • Joined

  • Last visited

  • Days Won

    20

Everything posted by Hotclutch

  1. Multi Products Manager Contribution URL: https://apps.oscommerce.com/jVxEK Forum Link: http://forums.oscommerce.com/index.php?showtopic=52724 https://www.dropbox.com/s/h9jme5bwi27qftk/Multi Products Manager W3-osC.zip?dl=0
  2. The install instructions for ORP Related Products need to change slightly due to the changes in categories.php I share the package here on my dropbox, it will make it easier to update in future. https://www.dropbox.com/s/qztyhhzesllw45h/Related_Products_W3-osC.zip?dl=0
  3. With W3.CSS, it is easy to customize your applications with color themes. All you have to do is add a link to a predefined (or home made) theme: In admin/includes/template_top.php Find: <link rel="stylesheet" href="https://www.w3schools.com/lib/w3-theme-dark-grey.css"> Change it to: <link rel="stylesheet" href="https://www.w3schools.com/lib/w3-theme-indigo.css">
  4. This will be the style and format of all Admin pages. The categories page illustrates well. After this I won't post any more pics to illustrate this.
  5. I am going to make this the standard format for forms.
  6. Admin administrators complete. Still need to look at the message stack class.
  7. Admin products expected complete.
  8. Lets help each other out, and point out the required changes to bring our shops up to the PHP8 level. 1) Replacing tep_session_is_registered You will find this in several places throughout the osCommerce project, so you have to check for them all, and then change it over. Be careful to note the use of ! before tep_session_is_registered. eg. checkout_success.php FInd: if (!tep_session_is_registered('customer_id')) { Replace with: if (!isset($_SESSION['customer_id'])) { You will find several instances of tep_session_is_registered in application_top.php Then starting from account.php, account_edit.php ..., you will typically find: if (!tep_session_is_registered('customer_id')) { $navigation->set_snapshot(); tep_redirect(tep_href_link('login.php', '', 'SSL')); } Using tep_session_is_registered is a common condition for addons, so you have to check any mods you have made.
  9. Here is how to trigger these errors: In Admin go to products_expected.php -> if there are none you won't notice any errors and you will be unaware they exist in the code. Now go set a future available date on one of the products. Go back to products_expected.php, and try to edit from there. You will see the errors. @Smoky Barnable if ((!empty($category['parent_id'])) && ($category['parent_id'] != '0')) $categories_array = tep_generate_category_path($category['parent_id'], 'category', $categories_array, $index); this line of code fixes one of the errors, still leaves the other. $categories_array[$index][] = array('id' => $categories['categories_id'], 'text' => $category['categories_name']); this line of code throws more errors, not sure if you meant to put $categories['categories_id'] or $category['categories_id'] instead.
  10. Admin Specials is complete.
  11. admin/functions/general.php tep_generate_category_path function there are 2x Warning: Trying to access array offset on value of type null these are the 2 lines that trigger the warnings: $categories_array[$index][] = array('id' => $id, 'text' => $category['categories_name']); if ( (tep_not_null($category['parent_id'])) && ($category['parent_id'] != '0') ) $categories_array = tep_generate_category_path($category['parent_id'], 'category', $categories_array, $index);
  12. Admin manufacturers complete.
  13. Admin order page with Canned Order Comments contribution. https://apps.oscommerce.com/Get&amp;4czpB&amp;Qd4Fr
  14. Admin send Mail is complete.
  15. This won't work, you're adding outside of the 2nd parameter.
×