Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

spectral

Pioneers
  • Posts

    17
  • Joined

  • Last visited

Profile Information

  • Real Name
    spectral

spectral's Achievements

  1. FWR Media, you sir, are a pro. Thanks a million for offering this contribution for free! I had no idea these errors existed on my shop until installing this on a whim. Your contributions are among the best offered for Oscommerce. Especially Security Pro. This contribution caught a few database tables in configuration that were accidentally duplicated from botched installs years ago!
  2. Version 5.0.9 Custom order totals aren't getting updated, is there any way to fix this? The order totals are added by other add-ons (custom low order fees, or points and rewards; for example) Classes Affected ot_redemptions ot_residential For now, I've put a band-aid on edit_orders.php to rename both class fields to ot_custom* and this alleviates the conflict, but I'd love a more usable solution, as this is going to prove cumbersome when I add other order total addons in the future. For reference, here is the band-aid fix: At the top of admin/edit_orders.php: tep_db_query("UPDATE " . TABLE_ORDERS_TOTAL . " SET class = 'ot_custom9' WHERE orders_id = '" . $_GET['oID'] . "' && class ='ot_residential'"); tep_db_query("UPDATE " . TABLE_ORDERS_TOTAL . " SET class = 'ot_custom8' WHERE orders_id = '" . $_GET['oID'] . "' && class ='ot_redemptions'");
×
×
  • Create New...