Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
 All Forums
 Technical
 WordPress for Ecommerce Templates
 Issue with FedEx shipping rate
Author    Topic »  

interprollc
Advanced Member

USA
323 Posts

Posted - 09/16/2026 :  07:45:05  
Hi

I got two stores, one ASP and the second one recently updated to Word Press. I select the exact same item an order 10pc in the ASP store, the rate I get for the FedEx Shipping is $485.92. I go and do the exat same order on my Word Press site and the rate I get is $1015.82. I check all the Shipping Main settings in the Admin and both sites are identical, also on the FedEx Admin both with the same API key, secret key, acconunt, etc..

I went and check the includes files on both and here there are some difference. But I don't want to copy them exact because I don't know if the Word Press versions handles things differently. I'm posting below what I got on each:

This is the ASP site includes Shipping Options:

' Shipping / Tax Options
googledefaultshipping=14.0
taxShipping=2
autobillingtoshipping=TRUE
shippingoptionsasradios=TRUE
nodefaultzip=TRUE
defaulttrackingcarrier="fedex"
'taxShipping=0
taxHandling=0
splitpackat=70
nosplitlargepacks=FALSE
xxNoMeth="If Over 150 Lbs. Please select Flat Rate Freight Option."
'willpickuptext="Pick up from store"
'willpickupcost=0.00
'willpickupnohandling=TRUE

estimateshipping=TRUE
noshipdateestimate=TRUE

Here is what I got on the Word Press site:

// Shipping / Tax Options
$GLOBALS['taxShipping']=2;
$GLOBALS['taxHandling']=0;

//$GLOBALS['willpickuptext']="Pick up from store";
//$GLOBALS['willpickupcost']=0.00;
//$GLOBALS['willpickupnohandling']=TRUE;

$GLOBALS['estimateshipping']=TRUE;
$GLOBALS['autobillingtoshipping']=TRUE;
$GLOBALS['noshipdateestimate']=TRUE;


Can any of the additional options included on the ASP site be making the difference on what rate FedEx is dispaying?

Thank you

Joe

dbdave
ECT Moderator

USA
10756 Posts

Posted - 09/16/2026 :  11:00:26  
so on both sites, go to Admin > Main settings > Store Settings > Enable XML / JSON request Logging:
turn that on and place the test orders and then turn it back off.
Then, go to the Activity log in your admin and see what was sent and returned on the fedex rate query.

There, you will spot the difference.
It may be easier to compare the files by saving them in a word doc, then use a file compare program to spot the difference in the files - or just push the both up to an AI model and ask it to compare the differences.

Thanks,
David

interprollc
Advanced Member

USA
323 Posts

Posted - 09/16/2026 :  11:21:11  
Thanks David

I just did this and feed the files to Gemini, here is the response (File 1 is the WP store and File 2 is the ASP store)

The main difference is how the shipment is packed: File 1 splits the weight into 2 heavy packages, while File 2 splits the exact same total weight into 4 lighter packages. This change completely changes the extra fees and total costs.Here is the exact breakdown of what changed between File 1 and File 2.#128230; Request Differences (What You Sent)Package Count & Weight:File 1: 2 packages × 130 lbs each = 260 lbs total.File 2: 4 packages × 65 lbs each = 260 lbs total.Declared Value:File 1: Includes a declared value of $1,906.20 per package for insurance.File 2: No declared value is listed.

So based on this I guess the settings:
splitpackat=70
nosplitlargepacks=FALSE

Are making a difference? Should I add this on the WP site includes file?

Note: I corrected the insurance to don't add inusrance it was set to automaticly add insurance.

Thanks

Joe

interprollc
Advanced Member

USA
323 Posts

Posted - 09/16/2026 :  11:38:40  
Will this be correct? This is according to Gemini

Instead of modifying core code, you can force the WordPress PHP version to split the weight exactly like your ASP store does by changing a setting in your main configuration file.Open your WordPress site files using FTP or your hosting control panel.Navigate to your theme or plugin folder to find your main configuration file: vsadmin/inc/incfunctions.php (or incsettings.php).Look for or add the $maxpackweight variable.Set it to 70 like this:
php$maxpackweight = 70;

Thanks

Joe

Marshall
Ecommerce Template Guru

USA
2007 Posts

Posted - 09/16/2026 :  11:50:53  
Don't mess with the incfunctions.php file as it will be overwritten with updates. Add this to your include.php file:

$GLOBALS['splitpackat']=70;
$GLOBALS['noshipdateestimate']=FALSE;

That will make it match what is in your ASP site.

Marshall
CENLYT Productions - ms designs
Affordable Web Design
Custom Ecommerce Designs
Responsive Websites
Cenlyt.com

interprollc
Advanced Member

USA
323 Posts

Posted - 09/16/2026 :  11:54:54  
Hi Marshall

Perfect! Just did this and it took care of the issue, now the rate is the same $485.92

Thanks

Joe

dbdave
ECT Moderator

USA
10756 Posts

Posted - 09/16/2026 :  13:02:44  
Yea, unless you are actually shipping your boxes with up to 70 pounds, I would reduce that.
We keep all of our boxes under 50 pounds as that is the point where extra fees are added, so you may be quoting your shipping too high and may lose sales.
It's best to match the parameters to how you actually ship to get your rates as accurate as possible.
https://www.ecommercetemplates.com/phphelp/ecommplus/parameters.asp#fedex

Thanks,
David

interprollc
Advanced Member

USA
323 Posts

Posted - 09/16/2026 :  13:10:30  
Thanks David

This is a good idea. Will do so

Joe

     Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.06 seconds. Snitz Forums 2000