Post by rotaryracer » Tue Oct 16, 2012 8:28 pm

Hi all - just started using OpenCart for my new eCommerce site and am really impressed! Feedback is always welcome...my site is at http://www.advmotorrad.com.

I've been working to get the shipping modules configured and have USPS up and running. Unfortunately, it seems to be a bit of a waste, since without being able to calculate shipping based on product dimensions and weight, it gives the option of fitting large items into Priority Flat Rate Small boxes. I would prefer to have used this option, but may not be viable.

I then installed the FedEx module, got the dev key for production, etc. After goofing around quite a bit, I got it to work and return rates that matched what FedEx has on their site; however, if I make ANY changes to it after installation, it seems to break. For example, I added FedEx Express Saver to FedEx Home and FedEx Ground, and it now gives me this error:

PHP Notice: Trying to get property of non-object in /home/(HOMEDIR)/public_html/catalog/model/shipping/fedex.php on line 170

Looking in the fedex.php file referenced above, it shows this code:

$title .= ' (' . $this->language->get('text_eta') . ' ' . date($this->language->get('date_format_short') . ' ' . $this->language->get('time_format'), strtotime($rate_reply_detail->getElementsByTagName('DeliveryTimestamp')->item(0)->nodeValue)) . ')';

I have the option to show delivery time turned off, as when it was on, it was just returning January 1970.

Question 1 - Any ideas what's making it throw that error code, and/or how to get accurate delivery estimates?

Question 2 - How do I show both Ground and Ground Home options when calculating shipping? When I plug in the city, state, zip to estimate shipping and tax (and the FedEx module is working), it will return the accurate cost for Ground to a commercial address. Residential is about $2 higher, but it does not show that radio button in the options for a customer to select. Any way to make that work?

Thanks very much!

Jason

New member

Posts

Joined
Tue Oct 16, 2012 7:45 pm

Post by rotaryracer » Wed Oct 24, 2012 5:47 am

Any thoughts, or is this a common occurrence? While the USPS module lacks some of the functionality I'd like, it seems quite a bit more stable than the FedEx module.

New member

Posts

Joined
Tue Oct 16, 2012 7:45 pm

Post by bobstrupp » Tue Dec 04, 2012 7:17 am

Where do you get the dev key at? Can you point me in the right direction?

Newbie

Posts

Joined
Thu Jun 21, 2012 11:41 am
Who is online

Users browsing this forum: No registered users and 3 guests