Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

ModManOSC

Members
  • Content count

    18
  • Joined

  • Last visited

Profile Information

  1. ModManOSC

    Cancelled Orders Contribution Support

    :( I have installed the contribution and have thoroughly searched the forums, google, etc for a solution to this: After installing the contribution, everything appears to work fine, all tables correctly setup. Not having any orders or customers installed, I checkout with an order. Then I go into admin to cancel the order (and restock quantity), error message: 1136 - Column count doesn't match value count at row 1 insert into cancelled_orders select * from orders where orders_id = '1' [TEP STOP] Any suggestions? Thanks.
  2. ModManOSC

    [Contribution] - USPS Methods

    Installed this mod (great mod by the way :>), USPS Methods v2.8b, but noticed that this newest version does not have the insurance add-on that was in 2.7d. Is there a way of quickly adding that insurance add-on without reinstalling? Would like to have this as an option. Thanks! :rolleyes:
  3. ModManOSC

    Scrambled Order Numbers

    I installed the scrambled order number with the optional display at checkout success - Great contribution!! One item I noticed is that when I place a test order and check my account history it shows this (both the hidden number and the scrambled number) - any suggestions?: My Order History My Order History Order Number: 1270 Order Number: SUM-671219808 Also, on the checkout success screen it displays: AAA-O everytime, not sure how to fix this. Thanks for any help! ALSO, Found error in most recent posting of this contribution - may want to fix it as it won't work without it WAS (3G) .../catalog/includes/modules/payment.php (((((< ----this line incorrect!!! -------------- * Approx line 170 (in the function 'after_process'). Replace the two lines... $message = 'Order #' . $insert_id . "\n\n" . 'Middle: ' . $this->cc_middle . "\n\n"; tep_mail('', MODULE_PAYMENT_CC_EMAIL, 'Extra Order Info: #' . $insert_id, $message, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); ...with these (three lines). Note that I have removed the '#' here from the text because I think it looks tidier, but you are, of course, free to format this how you wish... // >>> BEGIN SCRAMBLED_ORDER_NUMBER $scrambled_order_num = randomise_order_num($insert_id); $message = 'Order num.' . $scrambled_order_num . "\n\n" . 'Middle: ' . $this->cc_middle . "\n\n"; tep_mail('', MODULE_PAYMENT_CC_EMAIL, 'Extra Order Info:' . $scrambled_order_num, $message, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); // <<< END SCRAMBLED_ORDER_NUMBER SHOULD BE (3G) .../catalog/includes/modules/payment/cc.php -------------- * Approx line 170 (in the function 'after_process'). Replace the two lines... $message = 'Order #' . $insert_id . "\n\n" . 'Middle: ' . $this->cc_middle . "\n\n"; tep_mail('', MODULE_PAYMENT_CC_EMAIL, 'Extra Order Info: #' . $insert_id, $message, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); ...with these (three lines). Note that I have removed the '#' here from the text because I think it looks tidier, but you are, of course, free to format this how you wish... // >>> BEGIN SCRAMBLED_ORDER_NUMBER $scrambled_order_num = randomise_order_num($insert_id); $message = 'Order num.' . $scrambled_order_num . "\n\n" . 'Middle: ' . $this->cc_middle . "\n\n"; tep_mail('', MODULE_PAYMENT_CC_EMAIL, 'Extra Order Info:' . $scrambled_order_num, $message, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); // <<< END SCRAMBLED_ORDER_NUMBER
  4. ModManOSC

    Credit Card Javascript help

    This is an post for an older version of Osc (and did not work when we tried on 2.2) - does anyone know how to mod the checkout_payment.php to get the credit card radio button auto-selected if a customer starts typing in any of the credit card fields? Even if I could get the first radio button checked by default (which is the credit card choice), that would eliminate some senseless errors presented to customers. Thanks! Derek-Paul
×