Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

CatDadRick

Archived
  • Posts

    253
  • Joined

  • Last visited

Everything posted by CatDadRick

  1. Jim, Thanks for the excellent job on re-working the MVS Shipping Estimator. The new buttons are a much better match to OSC's standard buttons and integration on the Product Info page is great. Thanks, Rick
  2. Surfalot, I found what I was looking for. Now I have functional check boxes for all of my additional fields. Thanks Surfalot for an excellent contribution and good advice. BTW Do you surfalot? My brother owns a surf shop in Huntington Beach, CA.
  3. Surfalot, I've installed EP 2.76f as you suggested and I've added my 12 fields. So far, everything seems to work fine except that the new fields I've added don't show up in the box for the custom download. It's not a big deal as they do work if I use the quick links below the box, but is it possible for me to get check boxes for all of my additional fields? Thanks, Rick
  4. Thank, Surfalot, I'll download that version and add my fields. I have 4 fields from Multi Vendor Shipping 1.1 and 7 fields from a products discount contrib. All of these fields are in the products table. Thanks, Rick
  5. Surfalot, Thanks for your reply. I've been using v 2.61 I think. I've wanted to upgrade but I've added several fields to it and didn't want to fix something that wasn't broken. The admin version sounded like a good idea, but if the tab issue can't be easily fixed then the admin panel doesn't mak a lot of sense. There several EPs to download, which one do you recommend? Thanks, Rick
  6. Netstep, Do you have EP 2.76d with Attributes and Admin working? I installed it last night and everything seems to work except that I can't use the "tab" delimiter. Unless I hard code it into easypopulate.php tab is seen as "\t", not as a true tab character. When I look at the output my fields are delimited by \t, not by tabs. Thanks, Rick
  7. OK, I found part of the problem. This version has a setting for Excel friendly output that, if set to true will force the separator to comma. I've set this to false and now I can get any of the separators to work except tab, the default. I think it's due to the use of "\t" in the $separator array in easypopulate.php. If I select Tab in the admin panel, I get output that has \t between each field, not an actual tab. If I hard code the Tab separator in easypopulate.php , like other versions of Easy Populate, it works fine. Does anyone know how this might be fixed? is anyone else using this version of Easy Populate with admin? Thanks, Rick
  8. Hi all, I've just upgraded from a very early version of EP to version 2.76d with admin. Everything seems to work well except for Field Separator. No matter what I put in the field, it stays at comma. I use phpMyAdmin to manage my DB and I can see that the configuration value is being changes as I update the settings in admin and the admin panel shows the changes correctly, but when I open Easypopulate the separator is set to comma. Any idea how I can fix this? Thanks, Rick
  9. Thanks Jim, Removing and re-installing worked. Strange thing is, I've had it working in the past, why would it need re-installing. Thanks, Rick
  10. Repost Jim, I just added new product that uses FedEx shipping, so since I haven't used FedEx for some time I thought i should test the module. The module works and I do get shipping rates, but I also get this error in the Ship Estimator window... Warning: constant() [function.constant]: Couldn't find constant MODULE_SHIPPING_FEDEX1_ZONE_8 in /var/www/catalog_live/includes/modules/vendors_shipping/fedex1.php on line 75 Here's the code from around line 75... function zone($vendors_id='1') { $this->zone = @constant('MODULE_SHIPPING_FEDEX1_ZONE_' . $vendors_id); return $this->zone; } function enabled($vendors_id='1') { $this->enabled = false; $status = @constant('MODULE_SHIPPING_FEDEX1_STATUS_' . $vendors_id); if (isset ($status) && $status != '') { $this->enabled = (($status == 'True') ? true : false); } if ( ($this->enabled == true) && ((int)constant('MODULE_SHIPPING_FEDEX1_ZONE_' . $vendors_id) > 0) ) { $check_flag = false; $check_query = tep_db_query("select zone_id from " . TABLE_ZONES_TO_GEO_ZONES . " where geo_zone_id = '" . (int)constant('MODULE_SHIPPING_FEDEX1_ZONE_' . $vendors_id) . "' and zone_country_id = '" . $this->delivery_country_id . "' order by zone_id"); while ($check = tep_db_fetch_array($check_query)) { if ($check['zone_id'] < 1) { $check_flag = true; break; } elseif ($check['zone_id'] == $this->delivery_zone_id) { $check_flag = true; break; } As you can see, I do have the constant defined. Can you give me any suggestions for fixing this? I've used this FedEx in the past and don't recall getting this error. It wouldn't have anything to do with PHP5/MySQL5 would it? Thanks, Rick
  11. Larry, I'm no expert but I think you have a PHP5 error. PHP5 handles arrays differently than previous PHPx. You might want to post here "http://www.oscommerce.com/forums/index.php?showtopic=101973". It's the support thread for MVS-1.x. Rick
  12. Jim, I just added new product that uses FedEx shipping, so since I haven't used FedEx for some time I thought i should test the module. The module works and I do get shipping rates, but I also get this error in the Ship Estimator window... Warning: constant() [function.constant]: Couldn't find constant MODULE_SHIPPING_FEDEX1_ZONE_8 in /var/www/catalog_live/includes/modules/vendors_shipping/fedex1.php on line 75 Here's the code from around line 75... function zone($vendors_id='1') { $this->zone = @constant('MODULE_SHIPPING_FEDEX1_ZONE_' . $vendors_id); return $this->zone; } function enabled($vendors_id='1') { $this->enabled = false; $status = @constant('MODULE_SHIPPING_FEDEX1_STATUS_' . $vendors_id); if (isset ($status) && $status != '') { $this->enabled = (($status == 'True') ? true : false); } if ( ($this->enabled == true) && ((int)constant('MODULE_SHIPPING_FEDEX1_ZONE_' . $vendors_id) > 0) ) { $check_flag = false; $check_query = tep_db_query("select zone_id from " . TABLE_ZONES_TO_GEO_ZONES . " where geo_zone_id = '" . (int)constant('MODULE_SHIPPING_FEDEX1_ZONE_' . $vendors_id) . "' and zone_country_id = '" . $this->delivery_country_id . "' order by zone_id"); while ($check = tep_db_fetch_array($check_query)) { if ($check['zone_id'] < 1) { $check_flag = true; break; } elseif ($check['zone_id'] == $this->delivery_zone_id) { $check_flag = true; break; } As you can see, I do have the constant defined. Can you give me any suggestions for fixing this? I've used this FedEx in the past and don't recall getting this error. It wouldn't have anything to do with PHP5/MySQL5 would it? Thanks, Rick
  13. Me too Jim, One of my vendors now includes shipping dimensions in inventory feeds. I think the UPSXML module can give dimensional rates, so it might be handy for me also. Thanks, Rick
  14. Thanks Jim, that worked. In testing this I noticed that if I clicked on Ship Estimator after my login expired I would get an empty window with a close button just about dead center, right where the shipping info should be. I was looking at moving the close function, but wasn't sure how far down to go. Also, you're trying to get this to work with the UPSXML module? I'm still using the UPS (non XML) module. Is there a reason to go to the UPSXML module? Thanks, Rick P.S. (If anyone else is following this and trying to get it to work, there is no space between java and script in "java script:window.close()" in the above code snippet. This editor dosesn't seem to like javascript as one word).
  15. Kendall, I am accessing the Ship Estimator from my cart, not by calling the page directly. The pop-up is working. Shipping estimates are good, just no close button. Jim, When you get Eclipsed fixed maybe you can send me the line number and stuff. The code you posted didn't work. I found 2 close() statement and tried it on both, but no go. Thanks, Rick
  16. Jim, I have the button graphic and it's in the right place, now, but I don't have the button in the Ship Estimate window. I've looked at ship_estimate.php Thanks, Rick
  17. Jim, I have this installed now and everything seems to work well except for the [CLOSE WINDOW] button. There is no close windows button in my Ship Estimator window. Do you have the button? Thanks, Rick
  18. Jim, Cigarsforless, I just installed this on my test store yesterday, late afternoon and so far it seems to work OK. I use the standard UPS module, not the UPSXML module, tho I'm not sure why. What advantage does the UPSXML module have over the standard/non-XML module? Jim, Thanks for the code, I'll add it to my site today. Thanks, Rick
  19. Jim, I downloaded MVS Shipestimator v1.1b a week or so ago, it's my next project. Is that the one you're working on? Rick
  20. Drillsar, What Sort Order is supposed to do is give you control over the priority of the module at checkout. In other words, if you have 3 shipping modules installed, USPS, UPS & FedEX. You allow all 3 methods but you prefer USPS. Set the Sort Order for USPS to a lower number than UPS or FedEX and USPS will be selected as the default shipping method. That's how it's supposed to work. However, in several places this doesn't work, but I think in the Vendor Shipping modules it does. Rick
  21. Drillsar, Don't know if you're following this thread this morning, but I've got it working now. With my usps.php, goto line 177 and fix the typo if (($maxins == 0) || (constant('MODULE_SHIPPING_USPS_INSURE_' . $vendors_is) == 'False')) { Should be if (($maxins == 0) || (constant('MODULE_SHIPPING_USPS_INSURE_' . $vendors_id) == 'False')) { Then look at line 227. You'll see this $uspsQuote = $this->_getQuote(); Change it to $uspsQuote = $this->_getQuote($vendors_id); Jim spotted that last change and I think that's what made it work for me. Also, if you want the admin sort order to work, apply the fix I posted earlier in this thread. Like Jim says, it shouldn't work, but it does. Go figure. Hope this helps, Rick
  22. Jim, Thanks for the trouble shooting tips, I'm never sure where to put things like print statements. Maybe this will help me learn to better find my errors. It seems the real problem was, insurance was always on/true, not off/false as I thought. I think adding the $vendors_id to line 227 solved the problem and I just didn't see it because I was looking for insurance to come on, not go off. Anyway, thanks again for your help. P.S. Are you working on any new modules at this time? Thanks again, Rick
  23. Jim, It's working now. After my last reply, I went back to admin, set insurance to false, updated and then set insurance to true and updated again, now it's working. I'm going to do a bit more testing, but Ithink it's ready for my live store. Thanks for your help, Rick
  24. Jim, How did you put test numbers into it? I'm working on a "sandbox" site until I have everything working. Any suggestions where to put print statements? I have PHP error logging turned on so I can see errors on my sandbox, but I'm not getting any. Thanks, Rick
×
×
  • Create New...