Jump to content

tarmogr

Members
  • Content count

    27
  • Joined

  • Last visited

2 Followers

Profile Information

  • Real Name
    tarmo
  1. tarmogr

    Simple tracking module

    Hi Ben One thing I noticed you had a mossing echo in the order history table "while loop" while ($orders_history = tep_db_fetch_array($orders_history_query)) { echo ' <tr>' . "\n" . ' <td class="smallText" align="center">' . tep_datetime_short($orders_history['date_added']) . '</td>' . "\n" . ' <td class="smallText" align="center">'; if ($orders_history['customer_notified'] == '1') { echo tep_image(DIR_WS_ICONS . 'tick.gif', ICON_TICK) . "</td>\n"; } else { echo tep_image(DIR_WS_ICONS . 'cross.gif', ICON_CROSS) . "</td>\n"; } echo ' <td class="smallText">' . $orders_status_array[$orders_history['orders_status_id']] . '</td>' . "\n" . ' <td class="smallText">' . nl2br(tep_db_output($orders_history['comments'])) . ' </td>' . "\n" . ' <td class="smallText" align="center">'; if ($orders_history['invoice_sent'] == '1') { echo tep_image(DIR_WS_ICONS . 'tick.gif', ICON_TICK) . "</td>\n"; } else { echo tep_image(DIR_WS_ICONS . 'cross.gif', ICON_CROSS) . "</td>\n"; } //' </tr>' . "\n";// // tracking module start ' <td class="smallText">'; if ($orders_history['tracking_no']!==''){ if (isset($tracking_names_array[$orders_history['tracking_methods_id']])){ $carrier= $tracking_names_array[$orders_history['tracking_methods_id']]; $button= ' <a href="' . $tracking_methods_array[$orders_history['tracking_methods_id']] . $orders_history['tracking_no'] . '" target="_blank"><button>' . TEXT_TRACKING_BUTTONNAME . '</button></a></td>' . ' </td>' . "\n"; }else{ $carrier='-module removed-'; $button=''; } echo sprintf(TEXT_TRACKING_INFO,$carrier,$orders_history['tracking_no']) . $button; } echo ' </tr>' . "\n"; // tracking module end } add echo in front of line 360. correct code: echo ' <td class="smallText">'; Also your table heading has tracking info first and then pdf invoice field, but in actual table you have invoice column before tracking column. I suggest switch lines 314 and 315 <td class="smallText" align="center"><strong><?php echo TABLE_HEADING_TRACK; ?></strong></td> <td class="smallText" align="center"><strong><?php echo TABLE_HEADING_INVOICE; ?></strong></td>
  2. tarmogr

    Simple tracking module

    version 1.0b http://addons.oscommerce.com/info/9164
  3. tarmogr

    Simple tracking module

    Are you going to help him to restore? Ofcourse
  4. tarmogr

    Simple tracking module

    sorry remove that zones part, it was left there accidentally
  5. tarmogr

    Simple tracking module

    there is an error in step 2. I must have been in real hurry posting this contribution, anyway correct query is: 2. Insert this query into your oscommerce database (go to myphpadmin, select store database and click SQL tab, paste this into the field and click go) CREATE TABLE IF NOT EXISTS `tracking_methods` ( `tracking_methods_id` int(11) NOT NULL DEFAULT '0', `language_id` int(11) NOT NULL DEFAULT '1', `tracking_methods_name` varchar(32) COLLATE utf8_unicode_ci NOT NULL, `tracking_methods_url` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `mach` varchar(64) COLLATE utf8_unicode_ci NOT NULL, `icon` varchar(32) COLLATE utf8_unicode_ci NOT NULL, `autostatus` int(11) NOT NULL, PRIMARY KEY (`tracking_methods_id`,`language_id`), KEY `idx_tracking_methods_url` (`tracking_methods_url`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; ALTER table `orders_status_history` ADD `tracking_no` VARCHAR(32) NOT NULL; ALTER table `orders_status_history` ADD `tracking_methods_id` int(11) NOT NULL DEFAULT '0'; Yu may want to delete the tracking_methods table and new columns in order status history table before running this
  6. tarmogr

    Simple tracking module

    Package updated http://addons.oscommerce.com/info/9164/v,23
  7. tarmogr

    Simple tracking module

    Hi it seems that I have missed one edit. Please go to catalog/admin/includes/boxes/localization.php Find: 'link' => tep_href_link(FILENAME_ORDERS_STATUS) Add right after it: // tracking module ), array( 'code' => FILENAME_TRACKING, 'title' => BOX_LOCALIZATION_TRACKING, 'link' => tep_href_link(FILENAME_TRACKING) Let me know if it works, then I'll update the package
  8. tarmogr

    E.U. VAT Intracom Number

    I would like to install this addon but I have one theoretical question If somebody inserts a VAT number that is valid but not owned by the customers company, then he automattically gets tax free prices. So how do I know he is not just camming me but really can order in behalf of this company?
  9. tarmogr

    ULTIMATE Seo Urls 5 - by FWR Media

    I also had a series of sql errors when I tested it on Wampserver. It is working fine on my actual server but it has sligthly older PHP version. So if the PHP will be updated the contribution will stop working. Would be great if somebody could look ito it.
  10. maybe it would be better not to add the language ID with order information, but with customer information? I think it would be more logical. If customer registers on create account page the current language ID will be stored with hidden input field. If later the customer changes language, the ID will be updated in customer information(i don't know the name of the table)
  11. tarmogr

    Order Editor for 2.3.3.4?

    oh I just found th fix. I wonder how the code worked before but started acting weird after the update. anyway, If you are also uable to add custom order totals whith ajax turned on do this: in edit_orders.php find: remove onChange="obtainTotals()" so it looks like this: Now if you write something in the order total title field, the ajax will not reload. It will reload only if you insert something into value field. So remember to enter the order total title before the amount.
  12. tarmogr

    Order Editor for 2.3.3.4?

    I have exactly the same problem and I don't know how to fix it. I think the bug came out after updating my site from 2.3.1 to 2.3.3.3 If javascript updating is turned off then I am able to add cusom order totals but then again I can't change shipping methods. Any idea how to fix it?
  13. Currently in osc 2.4 order update mails are sent in the same language as the language that is used by the administrator who updates the order. Which is not good. is there a fix for this?
  14. tarmogr

    New Certified PayPal Payment Modules

    Does any of those contribution have a feature to pay later? For example during checkout the customer is directed to paypal and then decides not to pay and closes the window. Would then be possible for the customer to later log in, go to "my orders" section and press a payment button to complete the payment?
×