Jump to content
blucollarguy

Multi_Vendor_Shipping new thread

Recommended Posts

I have a preliminary version of the modified USPS module for MVS if anyone wants to try it out. It seems to be working for most of the domestic services. I haven't tested International yet, so I have no idea if they work. Please provide any bug reports here. I'm going to be doing more testing and tweaking as well. I'll upload the final version when the bug reports slow to a reasonable extent.

 

Regards

Jim


See my profile for a list of my addons and ways to get support.

Share this post


Link to post
Share on other sites

Whoops, I left the debug email turned on and set to my address. I guess I'll find out if anyone tries the first version.

 

If you have already downloaded this, please replace it with the current version, or at least comment out line 404.

 

Regards

Jim


See my profile for a list of my addons and ways to get support.

Share this post


Link to post
Share on other sites

Whoops, I left the debug email turned on and set to my address. I guess I'll find out if anyone tries the first version.

 

If you have already downloaded this, please replace it with the current version, or at least comment out line 404.

 

Regards

Jim

 

Hey Jim, tried out the file, thanks for your update. However, Standard Post--what we really rely on-- doesn't appear to be pulling in rates. Priority Mail is pulling in rates just fine. It's at least pulling in some rates for our products so it's a step :D I appreciate your hard work.

 

Thanks

 

Geoff

Share this post


Link to post
Share on other sites

Thanks for the bug report. I've noticed that and the First Class rates seem to be missing. Priority and Express (the ones they announced changes on) seem to be working. It looks like there are subtle changes on all of the services. I'll keep trying.

 

Regards

Jim


See my profile for a list of my addons and ways to get support.

Share this post


Link to post
Share on other sites

A new version is now available from the same location. Media Mail and Standard Post now work. First class is still playing hard to get. I'll keep on it.

 

Regards

Jim


See my profile for a list of my addons and ways to get support.

Share this post


Link to post
Share on other sites

A new version is now available from the same location. Media Mail and Standard Post now work. First class is still playing hard to get. I'll keep on it.

 

Regards

Jim

 

Jim you're amazing, huge kudos to you. Thanks so much for your hard work.

 

Thanks

 

Geoff

Share this post


Link to post
Share on other sites

Just another quick bug, I don't believe international rates are working either. This isn't as crucial for us but might be for others.

 

Thanks

 

geoff

Share this post


Link to post
Share on other sites

I haven't tested International at all yet. I was trying to get Domestic working first. I'll add that to the list.

 

Thanks for the bug report.

 

Regards

Jim


See my profile for a list of my addons and ways to get support.

Share this post


Link to post
Share on other sites

edited

Edited by lyonsperf

If the only tool you have is a hammer, all your problems look like nails

Share this post


Link to post
Share on other sites

Get no USPS rates or errors - Fedex and UPS work fine for this vendor. Tried several products with same results. Requested a new USPS ID no change in behavior. Any other ideas how I can troubleshoot this issue?

Share this post


Link to post
Share on other sites

@@nepm

Are you using the patched module file I posted above?

 

Regards

Jim


See my profile for a list of my addons and ways to get support.

Share this post


Link to post
Share on other sites

Here is the latest version I've been able to patch up. Don't expect miracles.

 

I've given up on that module. It's such a mess of old procedural code that it's nearly impossible to find what code is doing what part. I'm working on a new module that will be a lot less likely to break every time the USPS changes something. Yes there will be a MVS version. It's just going to take a while as I'm writing it in my spare time. You can subscribe to the development thread if you want to keep an eye on it.

 

Regards

Jim


See my profile for a list of my addons and ways to get support.

Share this post


Link to post
Share on other sites

Hi Jim,

 

Yes, I am using the latest usps.php file. I put in the lastest file from yesterday and get an error: PHP Fatal error: Call to undefined method usps::enabled() in /home/httpd/vhosts/neperformancemustang.com/httpdocs/Catalog/includes/classes/vendor_shipping.php on line 111, referer: http://www.neperformancemustang.com/Catalog/shopping_cart.php?osCsid=49musus174ha8h7pf2qacge8f1

 

In the vendor_shipping line 111 - } elseif ($GLOBALS[$class]->enabled($vendors_id)) { //Module is enabled for this vendor

 

$include_quotes = array();

reset($this->modules[$vendors_id]);

foreach ($this->modules[$vendors_id] as $value) {

$class = substr($value, 0, strrpos($value, '.')); // $class is the filename without the .php

if (tep_not_null($module)) {

if ( ($module == $class) && ($GLOBALS[$class]->enabled($vendors_id)) ) {

$include_quotes[] = $class;

}

} elseif ($GLOBALS[$class]->enabled($vendors_id)) { //Module is enabled for this vendor

$include_quotes[] = $class;

}

}

Share this post


Link to post
Share on other sites

Oops. That was a typo. Thanks for catching my stupid bug. I've uploaded the fix to the same location.

 

Regards

Jim


See my profile for a list of my addons and ways to get support.

Share this post


Link to post
Share on other sites

OK, let's try this again. I checked the file this time.

 

Regards

Jim


See my profile for a list of my addons and ways to get support.

Share this post


Link to post
Share on other sites

The enabled method is defined on lines 536 - 564 of this file. The error message is clearly wrong.

 

This module is currently running on two live stores that i know of. Your problem is most likely due to your version of PHP or a PHP setting. Unfortunately I can't help with that.

 

Regards

Jim


See my profile for a list of my addons and ways to get support.

Share this post


Link to post
Share on other sites

I now have a patched version of the USPS module that returns First Class quotes. I'm testing it now, so check carefully before you use this on a live store. The code is available here, in both stock and MVS flavors.

 

Regards

Jim


See my profile for a list of my addons and ways to get support.

Share this post


Link to post
Share on other sites

Hello,

 

Need help in integrating existing shipping method. I am using the german parcel shipping method. I think this is the best shipping method to offer local and international shipping.

 

attached is the shipping modules.

 

 

Any help is highly appreciated

 

 

fgwapo

gp.php

Share this post


Link to post
Share on other sites

@@fgwapo

There are instructions in the MVS package for modifying your shipping modules. See the modules.txt file.

 

Regards

Jim


See my profile for a list of my addons and ways to get support.

Share this post


Link to post
Share on other sites

hello,

 

i did made a test order with this module. I was wondering how to remove the x () = $0.00 on every email order.

 

x () = $0.00

 

 

ex.

 

Products

------------------------------------------------------

1 x Lingerie 1 (BLG00001) = $1.10

x () = $0.00

------------------------------------------------------

Sub-Total: $1.10

Shipping Method: FedEx 3-5 days Delivery Time : 0.75 kg: $8.00

Total: $9.10

 

 

Any help is highly appreciated

 

 

fgwapo

Share this post


Link to post
Share on other sites

This Addon only affects shipping costs. It doesn't do anything to the product list. I think you have a problem with something else you've changed.

 

Regards

Jim


See my profile for a list of my addons and ways to get support.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×