Hello,

I am trying to devise a process to charge Clients for a Shipping Box when they purchase exceeds a specific weight and also when they are shipping to a different State in the USA other than my Business address.

I purchase Shipping Director, but ran into lots of problems to devise this rule and would like to take a crack at coding it myself to handle the rules and make the price adjustments.
Specifically, I need to get the Client Shipping USA State and the Total Weight of the purchase.
Then, I will add an extra line item to the final total to reflect the Shipping Box, and to also include this extra charge into the Final price that I am sending to PayPal.
I started the review and tagged all the relevant pages where I will need to adjust the code.  Please see the attached photo:



Can I get some assistance on the process or function that I will need to call to retrieve the USA Shipping State and the Total Purchase Weight of the invoice so I can then run an IF statement to add the extra fee?