Jump to content

olsonsp4c

Members
  • Content count

    545
  • Joined

  • Last visited

Everything posted by olsonsp4c

  1. Is that for any tracking number url or just a particular carrier? Scott
  2. check admin/orders.php for the db insert functions - make sure they are there. check admin/includes/functions/html_output.php for the added function - is it there? if these are there - go to my profile page and email me. Scott
  3. No, it affects the input of tracking numbers... Scott
  4. Chris, this is the function that should have been inserted into admin/includes/functions/html_output.php //Package Tracking Plus BEGIN //// // Output a form textbox field function tep_draw_textbox_field($name, $size, $numchar, $value = '', $params = '', $reinsert_value = true) { $field = '<input type="text" name="' . $name . '" size="' . $size . '" maxlength="' . $numchar . '" value="'; if ($params) $field .= '' . $params; $field .= ''; if ( ($GLOBALS[$name]) && ($reinsert_value) ) { $field .= $GLOBALS[$name]; } elseif ($value != '') { $field .= trim($value); } else { $field .= trim($GLOBALS[$name]); } $field .= '">'; return $field; } //Package Tracking Plus END Scott
  5. 2.1 is the latest, you are correct - 2.2 is my development version. I'm sorry, the only thing left I can think to do is to grab a fresh rc2a admin/orders.php and re-edit it... assuming there were no major mods to this file in your existing installation. I have this running on a store with rc1 and rc2a with no problem, so the only other thing I could think is if there is a conflict with another addon that is causing the emails to lose html. OH - one other file to check - admin/includes/functions/html_output.php - did you insert the new function there? thanks for using my addon Chris. Scott
  6. most likely, some of the edits are missing from admin/orders.php that writes the input to the database. Scott
  7. Are you using version 2.2? Also, if that is the case, either the problem is in checkout_process.php or admin/orders.php another possibility is that your email program is set to receive only in plain text, rejecting html Scott
  8. I'm unsure exactly what you referring to... check that admin->configuration->Email Options->Use MIME HTML When Sending Emails is set to true Scott
  9. that is supposed to be a product notifications checkbox - my addon doesn't touch that code. you could probably find it in checkout_success.php Scott
  10. olsonsp4c

    [Contribution] - USPS Methods

    did you delete all other usps modules before installing usps methods? if not, it causes a conflict. Scott
  11. i'm unsure of exactly what you are referring to. could you be more specific please? Scott
  12. In emails, order_id=7 should be a hyperlink - if it is not it is because the html emails feature is not turned on in admin->configuration->Email Options->Use MIME HTML When Sending Emails it's a good idea to add the (Click here to view) afterwards - I might integrated that idea into a future release... Scott
  13. olsonsp4c

    USPS Shipping Insurance

    Your welcome - you should also note that my module will only insure for 1 package per order at this time, until I figure out how to import the $shipping_num_boxes variable from the shipping class. Once I figure that out, I already have it coded to work for multiple packages. Scott
  14. Fred, what's wrong with the order id? Scott
  15. The file has a missing line break - I've corrected it below, should work for you. <?php /* $Id: checkout_process.php,v 1.26 2002/11/01 04:22:05 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions [url=http://www.oscommerce.com]http://www.oscommerce.com[/url] Copyright © 2002 osCommerce Released under the GNU General Public License */ //Package Tracking Plus BEGIN //define('EMAIL_TEXT_SUBJECT', 'Order Process'); define('EMAIL_TEXT_GREETING', 'Thank you so much for ordering from ' . STORE_NAME . '! Below is an invoice of your order for your records. If you have questions or comments, please reply to this email.' . "\n\n" . 'With warm regards from your friends at ' . STORE_NAME . "\n"); define('EMAIL_TEXT_SUBJECT_1', ' Order'); define('EMAIL_TEXT_SUBJECT_2', 'has been received.'); //Package Tracking Plus END define('EMAIL_TEXT_ORDER_NUMBER', 'Order Number:'); define('EMAIL_TEXT_INVOICE_URL', 'Detailed Invoice:'); define('EMAIL_TEXT_DATE_ORDERED', 'Date Ordered:'); define('EMAIL_TEXT_PRODUCTS', 'Products'); define('EMAIL_TEXT_SUBTOTAL', 'Sub-Total:'); define('EMAIL_TEXT_TAX', 'Tax: '); define('EMAIL_TEXT_SHIPPING', 'Shipping: '); define('EMAIL_TEXT_TOTAL', 'Total: '); define('EMAIL_TEXT_DELIVERY_ADDRESS', 'Delivery Address'); define('EMAIL_TEXT_BILLING_ADDRESS', 'Billing Address'); define('EMAIL_TEXT_PAYMENT_METHOD', 'Payment Method'); //Package Tracking Plus BEGIN define('EMAIL_SEPARATOR', '------------------------------------------------------'); define('EMAIL_INVOICE', ' Invoice'); define('TEXT_EMAIL_VIA', 'via'); //Package Tracking Plus END ?>
  16. You probably missed a define in catalog/includes/languages/english/checkout_process.php Scott
  17. olsonsp4c

    USPS Shipping Insurance

    It could work; however, you should note that the rates listed are the USPS insurance rates that are determined by the price of the order total (with or without tax). It is easy to change the title of the module in the english file and adjust other aspects in the module file (ie. the usps logo). You can change the insurance charge per order total amount in the admin to whatever you desire; however, you'd need to change the table inserted in checkout_payment.php accordingly (the insurance amounts charged. You should take a look at the screenshots before using. Thanks! Scott
  18. olsonsp4c

    New flow

    Here's the Featured Products 1.5.9 alternate with specials code: if($featured_products['specstat']) { $info_box_contents[$row][$col] = array('align' => 'center', 'params' => 'class="smallText" width="33%" valign="top"', 'text' => '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $featured_products['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $featured_products['products_image'], $featured_products['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $featured_products['products_id']) . '">' . $featured_products['products_name'] . '</a><br><s>' . $currencies->display_price($featured_products['products_price'], tep_get_tax_rate($featured_products['products_tax_class_id'])) . '</s><br><span class="productSpecialPrice">' . $currencies->display_price($featured_products['specials_new_products_price'], tep_get_tax_rate($featured_products['products_tax_class_id'])) . '</span>'); } else { $info_box_contents[$row][$col] = array('align' => 'center', 'params' => 'class="smallText" width="33%" valign="top"', 'text' => '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $featured_products['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $featured_products['products_image'], $featured_products['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $featured_products['products_id']) . '">' . $featured_products['products_name'] . '</a><br>' . $currencies->display_price($featured_products['products_price'], tep_get_tax_rate($featured_products['products_tax_class_id']))); } Scott
  19. olsonsp4c

    New flow

    Chris, in the if, else statement - the 1st one doesn't take into account specials [specstat] - don't know if that is effecting things, the original code had some extra code for specials... also, in the new products file, there was a duplication of: $info_box_contents = array(); right after the first protoflow div - is this necessary in the featured module? if so, i thought it might look something like this: $info_box_contents = array(); if ( (!isset($featured_products_category_id)) || ($featured_products_category_id == '0') ) { $info_box_contents[] = array('align' => 'left', 'text' => '<a class="headerNavigation" href="' . tep_href_link(FILENAME_FEATURED_PRODUCTS) . '">' . TABLE_HEADING_FEATURED_PRODUCTS . '</a>'); echo '<div id="protoflow">'; $info_box_contents = array(); if ( (!isset($featured_products_category_id)) || ($featured_products_category_id == '0') ) { $info_box_contents[] = array('align' => 'left', 'text' => '<a class="headerNavigation" href="' . tep_href_link(FILENAME_FEATURED_PRODUCTS) . '">' . TABLE_HEADING_FEATURED_PRODUCTS . '</a>'); list($usec, $sec) = explode(' ', microtime()); srand( (float) $sec + ((float) $usec * 100000) ); $mtm= rand(); $featured_products_query = tep_db_query("select p.products_id, p.products_image, p.products_tax_class_id, s.status as specstat, s.specials_new_products_price, p.products_price from " . TABLE_PRODUCTS . " p left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id left join " . TABLE_FEATURED . " f on p.products_id = f.products_id where p.products_status = '1' and f.status = '1' order by rand($mtm) DESC limit " . MAX_DISPLAY_FEATURED_PRODUCTS); } else { $info_box_contents[] = array('align' => 'left', 'text' => sprintf(TABLE_HEADING_FEATURED_PRODUCTS_CATEGORY, $cat_name)); echo '<div id="protoflow">'; $info_box_contents = array(); $info_box_contents[] = array('align' => 'left', 'text' => sprintf(TABLE_HEADING_FEATURED_PRODUCTS_CATEGORY, $cat_name)); let me know your thoughts on this... Scott
  20. olsonsp4c

    New flow

    I will take a look at it... what do you mean by "stray link" do you have a demo page I could look at to see what you mean? thanks Chris. Scott
  21. the problem would be in admin/orders.php
  22. olsonsp4c

    USPS Shipping Insurance

    Version 1.2 is out: http://addons.oscommerce.com/info/5782 Changes since v1.1 ------------------ * Code added to calculate tax including the shipping insurance if a tax class is chosen (thanks to Jake) Scott (olsonsp4c)
  23. olsonsp4c

    New flow

    no problem - glad it is helpful. thanks for taking a look at it Chris. Scott
  24. olsonsp4c

    New flow

    Hello, this is a great addon! Thanks! I'm trying to integrate this into the featured products addon. Would you consider taking a look at it to suggest how to mod includes/modules/featured.php to integrate this for use with this addon? It would be a great help to the community... Scott
  25. olsonsp4c

    USPS Priority Mail Flat Rate Shipping

    Dave, this module does not currently support using country or postal codes; however, you are welcome to modify it to do so. It does support shipping to can/mex and international. It currently only supports the 2 boxes sizes. Weight is the only determiner of which method is quoted; however, you can change this weights to suit your particular store needs. thanks! Scott
×