Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

UPS shipping module


Guest

Recommended Posts

Posted

I have installed the OSC v2.2 MS2 on my testing site and I also installed the UPS shipping module that built-in with the MS2.

 

I would like to compare the costs that OSC calculated with costs from UPS site to make sure they are the same amount . So, I keying the same shipping information into the UPS site, I found out that OSC gave me lower rates than that of www.ups.com site. After I clicked on 'detail' for a certain shipping type on the UPS site, I found out there was a 'Delivery Area Surcharge', which is not added in OSC.

 

Does anyone know how to add the 'Delivery Area Surcharge' to the total?

 

Many thanks!

 

Stonez

 

P.S: At UPS site, it says "A Delivery Area Surcharge applies to each package delivered to certain ZIP Codes".

Posted

Add it to the handling fee everyone pays a bit more, averges out.

Rolf

Posted

The Delivery Area Surcharge should be the difference that you would see on the UPS site in shipping to a "Residential" address versus a "Business" address (it was a difference of $1.40 in the one test I just ran)

... if you want to REALLY see something that doesn't set up right out of the box without some tweaking,

try being a Foster Parent!

Posted
The Delivery Area Surcharge should be the difference that you would see on the UPS site in shipping to a "Residential" address versus a "Business" address (it was a difference of $1.40 in the one test I just ran)

 

No. If you select "Residential" or "Business" address, you will get a different cost. In my example, there will still be $1 'Delivery Area Surcharge'.

Posted

You're right, I stand corrected.

 

However, I just ran a 3 tests from my osC installation and compared them to the results from the UPS website and the rates match exactly.

 

The tests were to ZIPs identified in the UPS Delivery Area Surcharge chart located at http://www.ups.com/content/us/en/resources..._surcharge.html and should reflect a $1 surcharge if shipping to a business address and $1.75 if to a residential address. On the final test, I ran a ZIP code known to be in the same delivery zone but not one of the ZIPs from the chart referenced above and the difference was $1.75

 

Bottom line - the UPS module should give you rates that reflect this surcharge, but it appears the stock module which doesn't utilize XML requests does not do this. I am using the UPSXML module rather than the stock one that comes with osC. When I run the same test with the stock UPS module, the surcharge is not reflected

... if you want to REALLY see something that doesn't set up right out of the box without some tweaking,

try being a Foster Parent!

Posted

Mugitty,

I don't know there is a UPSXML module available...

Thanks for the information. I will install and give it a try.

"UPS XML Rates and Services v1.0" Is this the right one? Which version did you installed?

 

Stonez

Posted

Stonez;

 

Yes, that's the right one:

 

http://www.oscommerce.com/community/contributions,1323

 

I have v1.01 installed on a pre-Milestone release of osC. I haven't tried anything newer on an MS2 installation yet.

... if you want to REALLY see something that doesn't set up right out of the box without some tweaking,

try being a Foster Parent!

Posted

I've install the latest version v1.03 with OSC MS2 and it worked really well!

Howevery, I don't know if I missing something or what,

I have to add these lines to make it work:

admin/includes/
--	database_tables.php 
--	add this line:
--	define('TABLE_PACKAGING', 'packaging');
admin/includes/
--	filenames.php
--	add this line:
--	define('FILENAME_PACKAGING','packaging.php');
catalog/includes/language/english
--	english.php 
--	add this line:
--	define('BOX_TOOLS_PACKAGING','Packaging');
catalog/include/
--	database_tables.php 
--	add this line:
--	define('TABLE_PACKAGING', 'packaging');

Just in case, any might need these information.

 

Now, I have a problem in the admin area:

Warning: main(includes/classes/htaccess.php): failed to open stream: No such file or directory in /usr/local/apache/htdocs/shop2/admin/packaging.php on line 59

Warning: main(): Failed opening 'includes/classes/htaccess.php' for inclusion (include_path='.:/php/includes:/usr/local/lib/php') in /usr/local/apache/htdocs/shop2/admin/packaging.php on line 59

It looked like the code is looking for htaccess.php, but it's not there!

 

Where do I get this file?

 

Stonez

Posted

Yeah, now I remember running into that when I first installed the mod.

 

In my version (around line 53) there is this segment:

 

<?php
include(DIR_WS_CLASSES . 'htaccess.php');
$activeid = $_GET['id'];

 

I never did find out why that was there, but I have just commented out the .htaccess include in mine and its been working just fine for over a year - like so...

 

<?php
//include(DIR_WS_CLASSES . 'htaccess.php');
$activeid = $_GET['id'];

 

P.S. From what you posted, it looks like whoever put together v1.03 may have left some of the defines out that relate to the packaging module

... if you want to REALLY see something that doesn't set up right out of the box without some tweaking,

try being a Foster Parent!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...