Jump to content

olsonsp4c

Members
  • Content count

    545
  • Joined

  • Last visited

Everything posted by olsonsp4c

  1. olsonsp4c

    [Contribution] - USPS Methods

    It could be several things: 1. Your USPS account is not set to "Production" 2. I think 4.0.3 requires the password, 3.0.2 you just put the login 2x (as the password) 3. The USPS servers are overloaded and can't handle your request (in this case, there is no solution except installing the USPS addon that works if the USPS servers are down) Scott
  2. olsonsp4c

    Official PayPal IPN Support Thread

    Have you set your autoreturn in your PayPal account to http://www.your-domain.com/yourosc-catalog...out_process.php ? Scott
  3. olsonsp4c

    [Contribution] - USPS Methods

    It is separated in 3.0.2 so that it only displays pounds and ounces to the customer, but it still submits to usps as a unit. Also, I'll through in my thoughts on an editor - I prefer "Notepad++" - it is amazing... Scott
  4. olsonsp4c

    [Contribution] - USPS Methods

    Hey Greg, feel free to steal away and I don't need credit :) I appreciate all your efforts... Scott
  5. olsonsp4c

    Products Attributes Sort v1.0

    Anyone else out there have the issue mentioned above? I don't so I'm looking for the community to chime in with thoughts... Scott
  6. olsonsp4c

    USPS Priority Mail Flat Rate Shipping

    I found the issue... if you have 3.0.2 installed, you don't need the 1st function in the insert in admin/includes/functions/general.php So, only insert this: // USPS Priority Mail Flat Rate Shipping // Alias function for Store configuration values in the Administration Tool. // Creates multiple text input boxes in a list. // Remember to add blank default values: 1, 2, , , 5, 6, ... function tep_cfg_multiinput_list($select_array, $key_value, $key = '') { $key_values = explode( ", ", $key_value); for ($i=0; $i<sizeof($select_array); $i++) { $name = (($key) ? 'configuration[' . $key . '][]' : 'configuration_value'); $string .= '<br><input type="text" name="' . $name . '" value="' . $key_values[$i] . '"> ' . $select_array[$i]; } $string .= '<input type="hidden" name="' . $name . '" value="--none--">'; return $string; } //// // USPS Priority Mail Flat Rate Shipping // Alias function for Store configuration values in the Administration Tool. // Creates a text input box on either side of the option, adds <= OPTION <= and makes a list. // Remember to add blank default values: 1, 2, , , 5, 6, ... function tep_cfg_multiinput_duallist_oz($select_array, $key_value, $key = '') { $key_values = explode( ", ", $key_value); $string .= '<center>'; for ($i=0; $i<sizeof($select_array); $i++) { $current_key_value = current($key_values); $name = (($key) ? 'configuration[' . $key . '][]' : 'configuration_value'); $string .= '<br><input type="text" name="' . $name . '" size="3" value="' . $current_key_value . '"><i>oz</i>'; $string .= ' <b><</b> ' . $select_array[$i] . ' <u><b><</b></u>'; next($key_values); $current_key_value = current($key_values); $string .= '<input type="text" name="' . $name . '" size="3" value="' . $current_key_value . '"><i>oz</i>'; next($key_values); } $string .= '<input type="hidden" name="' . $name . '" value="--none--">'; $string .= '</center>'; return $string; } function tep_cfg_multiinput_duallist_lb($select_array, $key_value, $key = '') { $key_values = explode( ", ", $key_value); $string .= '<center>'; for ($i=0; $i<sizeof($select_array); $i++) { $current_key_value = current($key_values); $name = (($key) ? 'configuration[' . $key . '][]' : 'configuration_value'); $string .= '<br><input type="text" name="' . $name . '" size="3" value="' . $current_key_value . '"><i>lbs</i>'; $string .= ' <b><</b> ' . $select_array[$i] . ' <u><b><</b></u>'; next($key_values); $current_key_value = current($key_values); $string .= '<input type="text" name="' . $name . '" size="3" value="' . $current_key_value . '"><i>lbs</i>'; next($key_values); } $string .= '<input type="hidden" name="' . $name . '" value="--none--">'; $string .= '</center>'; return $string; } Scott
  7. olsonsp4c

    USPS Priority Mail Flat Rate Shipping

    I guess I'm unsure what you mean - I use this with USPS Methods 3.0.2 - I wrote both of them so that they would work together. So, I need more details. Scott
  8. maybe at some point it can be re-integrated - don't know why it was not included in other packages before mine - I'm sure there were reasons - that is the nature of Open Source. I'm glad that 3.1 works fine for you. Scott
  9. olsonsp4c

    Products Attributes Sort v1.0

    i'm sure it can be done, but i have not seen it done... Scott
  10. olsonsp4c

    Products Attributes Sort v1.0

    fix posted: http://forums.oscommerce.com/index.php?s=&...t&p=1363928 also, new package uploaded... Scott
  11. olsonsp4c

    Official PayPal IPN Support Thread

    this is normally set in your actual PayPal account under Profile->Website Payment Preferences - choose AutoReturn and put in the url http://www.your-website.com/checkout_process.php check that first. Scott
  12. olsonsp4c

    Store Mode (Open | Closed | Maintenance)

    You are both welcome. I think the issue you are experiencing most likely has to do with your browser cache. You can test to see if this is the case: 1. Open both windows 2. Disable Testing mode in one window 3. Click around in the other window (should continue getting the maintenance page) 4. Now clear the browser cache 5. Refresh and see if you now can view your store with the red bar at the top reminding you that you are in maintenance mode Scott
  13. olsonsp4c

    [Contribution] Product Sort Order

    I figured out the problem - it wasn't this addon, it was a change made by the cross sell addon. Scott
  14. olsonsp4c

    [Contribution] Product Sort Order

    After installing Product Sort, 1st 1.4, then 1.6, now 1.7 on rc2a - for some time now, in my product listing in the store, when I click a buy now button - it adds the product to the shopping cart and then changes all the products in the product listing to the same product id. Does anyone else have this issue and a fix? Scott
  15. olsonsp4c

    Product Sort v1.7

    it means there is already an entry in your database for id=263 - just change the id in your sql statement to another number, like 432 or something and you should be fine. alternatively just leave it blank '' and it will pick the next available id. Scott
  16. 2 ideas: 1. Check catalog/pdf/pdf_datasheet_functions.php: define('FPDF_FONTPATH','pdf/font/'); require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_PDF_DATASHEET); require('pdf/pdf_datasheet_config.php'); require('pdf/fpdf/fpdf.php'); make sure these lines are configured properly... 2. Check catalog/includes/configure.php: define('HTTP_SERVER', 'http://www.your-domain.com'); define('HTTPS_SERVER', 'https://www.your-domain.com'); define('ENABLE_SSL', true); // if you have SSL (true) define('HTTP_COOKIE_DOMAIN', 'www.your-domain.com'); define('HTTPS_COOKIE_DOMAIN', 'www.your-domain.com'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/home/yourdomain/www/www/'); // could also be something like /home/yourdomain/www/public_html/ define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); make sure these are configured properly... if this doesn't work, message me with your website address and I'll take a quick look too. Scott
  17. It is included in v1.8 of product attributes sort order that I submitted today: http://addons.oscommerce.com/info/1822 Scott
  18. On my store it works now with 1.8 installed - if you have made no changes to your admin/product_attributes.php file since before installing the addon... you can drop in and overwrite the files and it should work. Scott
  19. olsonsp4c

    Products Attributes Sort v1.0

    New version out: http://addons.oscommerce.com/info/1822 Since v1.7 ---------- * Reformatted instructions * Added database query file * Removed extra, unnecessary database entry * Added the multiple attribute clone option * English and French included Scott
  20. I have fixed the issue that was introduced with v1.7 by using code from 1.6 - I'll be coming out with 1.8 in the next hour. Scott
  21. olsonsp4c

    Products Attributes Sort v1.0

    Yes, I posted the fix: http://forums.oscommerce.com/index.php?s=&...t&p=1363928 I'm coming out with a streamlined version in the next hour. Scott
  22. The only suggestion that I could have is that you copy the english files back to your store and see if that effects anything. You can disable the language in your admin, so they don't need to be deleted anyways. As it works on more than 20 stores that I know of personally, and I can not duplicate the issue, it is difficult to further troubleshoot. Is anyone else out there having this issue that can help him? Scott
  23. Well, it works on my site so I can't really give you any pointers there... this is the code that inserts that in pdf\pdf_datasheet_functions.php First here: // Header Text $this->Ln(0); $path = $this->GetPath($products_id, $languages_id); $products_name = $this->ProductsName($products_id, $languages_id); $product_path_font=explode(",",PDF_PRODUCT_PATH_FONT); $this->SetFont($product_path_font[0],$product_path_font[1],$product_path_font[2]); $header_color_table=explode(",",PDF_HEADER_COLOR_TABLE); $this->SetFillColor($header_color_table[0], $header_color_table[1], $header_color_table[2]); $this->Cell(0,6,$path .' > '. $products_name,0,0,'L',1); $this->Ln(10); And the queries are later here: function GetPath($products_id, $languages_id) { $cPath = ''; $cat_count_sql = tep_db_query("select count(*) as count from " . TABLE_PRODUCTS_TO_CATEGORIES . " where products_id = '" . $products_id . "'"); $cat_count_data = tep_db_fetch_array($cat_count_sql); if ($cat_count_data['count'] == 1) { $categories = array(); $cat_id_sql = tep_db_query("select pc.categories_id, cd.categories_name from " . TABLE_PRODUCTS_TO_CATEGORIES . " pc, " . TABLE_CATEGORIES_DESCRIPTION . " cd where pc.products_id = '" . $products_id . "' and cd.categories_id = pc.categories_id and cd.language_id = '" . $languages_id . "'"); $cat_id_data = tep_db_fetch_array($cat_id_sql); tep_get_parent_categories($categories, $cat_id_data['categories_id']); $size = sizeof($categories)-1; for ($i = $size; $i >= 0; $i--) { if ($cPath != '') $cPath .= ' > '; $parent_id_sql = tep_db_query("select categories_name from " . TABLE_CATEGORIES_DESCRIPTION . " where categories_id = '" . $categories[$i] . "' and language_id = '" . $languages_id . "'"); $parent_id_data = tep_db_fetch_array($parent_id_sql); $cPath .= $parent_id_data['categories_name']; } if ($cPath != '') $cPath .= ' > '; $cPath .= $cat_id_data['categories_name']; } return $cPath; } function ProductsName($products_id, $languages_id) { $products_name_query = tep_db_query("select products_name from " . TABLE_PRODUCTS_DESCRIPTION . " where products_id = '" . $products_id . "' and language_id = '" . $languages_id . "'"); $products_name = tep_db_fetch_array($products_name_query); return $products_name['products_name']; } If you've modified any of the defaults in your store, this would cause an error - I'm sure it could be other things as well, I just don't know what. Scott
  24. You are correct - I have the same issue Scott
  25. there is an add-on called Product Sort - I've installed v1.6, but it has some problems in the product listing, changing all the buy now button links to the same product number when 1 product is added to the cart when the shop is set not to go directly to the cart when a product is added. I know where the problem is, but not how to fix it - for now, I working around it. It is a little challenging to install, but is helpful - i have not tried 1.7 yet. Scott
×