[Skip to main content](#vessel-content)

#   Imperial Weights After Fedex Update

##

- **[Rapid](/forum/user/32553-rapid "View Rapid's Profile")**
- [![Rapid's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32553-rapid "View Rapid's Profile") Topic Author
- [ Offline](/forum/user/32553-rapid)

Less More

- Posts: 27
- Thank you received: 0
-
-

9 years 7 months ago -  9 years 7 months ago [\#265050](#265050) by [Rapid](/forum/user/32553-rapid "View Rapid's Profile")  *[Imperial Weights After Fedex Update](/forum/28-shipping-methods/889361-imperial-weights-after-fedex-update#265050 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.6.5  Hi, I just upgraded the Fedex plugin to correct some issues. After doing so and everything looked OK. Fedex informed me that the site is now sending all weights in Pounds/Ounces/Inches etc.  I looked at fedex.php and can see this is hard coded throughout the file eg: if($pkg == &quot;LBS&quot;) or ($order, array('weight&#95;unit' =&gt; 'lb', 'volume&#95;unit' =&gt; 'in',  And so on. I intend to change this to metric but want to make sure it won't effect anything else. All of my measurments are in metric - g/mm etc. I have everything in the backend (products etc.) set to Grams and Millimeters so should I use g &amp; mm or KG &amp; CM???  Thanks.")* was created by *[Rapid](/forum/user/32553-rapid "View Rapid's Profile")*

-- HikaShop version -- : 2.6.1
-- Joomla version -- : 3.6.5

Hi,
I just upgraded the Fedex plugin to correct some issues. After doing so and everything looked OK. Fedex informed me that the site is now sending all weights in Pounds/Ounces/Inches etc.

I looked at fedex.php and can see this is hard coded throughout the file eg:
if($pkg == "LBS")
or
($order, array('weight_unit' =&gt; 'lb', 'volume_unit' =&gt; 'in',

And so on.
I intend to change this to metric but want to make sure it won't effect anything else. All of my measurments are in metric - g/mm etc.
I have everything in the backend (products etc.) set to Grams and Millimeters so should I use g &amp; mm or KG &amp; CM???

Thanks.

Last edit: 9 years 7 months ago by [Rapid](/forum/user/32553-rapid "View Rapid's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODg5MzYxLWltcGVyaWFsLXdlaWdodHMtYWZ0ZXItZmVkZXgtdXBkYXRlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

9 years 7 months ago -  9 years 7 months ago [\#265081](#265081) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Imperial Weights After Fedex Update](/forum/28-shipping-methods/889361-imperial-weights-after-fedex-update#265081 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.6.5  Hi, I just upgraded the Fedex plugin to correct some issues. After doing so and everything looked OK. Fedex informed me that the site is now sending all weights in Pounds/Ounces/Inches etc.  I looked at fedex.php and can see this is hard coded throughout the file eg: if($pkg == &quot;LBS&quot;) or ($order, array('weight&#95;unit' =&gt; 'lb', 'volume&#95;unit' =&gt; 'in',  And so on. I intend to change this to metric but want to make sure it won't effect anything else. All of my measurments are in metric - g/mm etc. I have everything in the backend (products etc.) set to Grams and Millimeters so should I use g &amp; mm or KG &amp; CM???  Thanks.")*

Hello,

Yes, the FedEx plugin is now sending products weight and dimension in LB and IN.

> I intend to change this to metric but want to make sure it won't effect anything else. All of my measurments are in metric - g/mm etc.
> I have everything in the backend (products etc.) set to Grams and Millimeters so should I use g &amp; mm or KG &amp; CM???

Note that the FedEx plugin will convert all your products weight and dimensions to lb/in and then send it to the FedEx platform, so you can use the weight/dimension unit that you want for your products.

Also if you really want your FedEx shipping plugin to send your products weight/dimensions to the FedEx platform in kg/cm then you'll also have to edit these lines which define the maximum weight/dimension that a package must have in lb/in : Code:

$limit = array( 'y' =&gt; 119, 'w' =&gt; 150, 'length_girth' =&gt; 165 ); if(!empty($rate-&gt;shipping_params-&gt;methods)) { foreach($rate-&gt;shipping_params-&gt;methods as $k =&gt; $service_name) { $l_lenght = 0; $l_weight = 0; $l_dimension = 0; if($service_name == 'FEDEX_GROUND') $limit['y'] = 108; if($service_name == 'GROUND_HOME_DELIVERY') $limit['w'] = 70; if(in_array($service_name,$international_limit)) $limit['length_girth'] = 130; } }

Last edit: 9 years 7 months ago by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODg5MzYxLWltcGVyaWFsLXdlaWdodHMtYWZ0ZXItZmVkZXgtdXBkYXRlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Rapid](/forum/user/32553-rapid "View Rapid's Profile")**
- [![Rapid's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32553-rapid "View Rapid's Profile") Topic Author
- [ Offline](/forum/user/32553-rapid)

Less More

- Posts: 27
- Thank you received: 0
-
-

9 years 7 months ago [\#265136](#265136) by [Rapid](/forum/user/32553-rapid "View Rapid's Profile")  Replied by *[Rapid](/forum/user/32553-rapid "View Rapid's Profile")* on topic *[Imperial Weights After Fedex Update](/forum/28-shipping-methods/889361-imperial-weights-after-fedex-update#265136 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.6.5  Hi, I just upgraded the Fedex plugin to correct some issues. After doing so and everything looked OK. Fedex informed me that the site is now sending all weights in Pounds/Ounces/Inches etc.  I looked at fedex.php and can see this is hard coded throughout the file eg: if($pkg == &quot;LBS&quot;) or ($order, array('weight&#95;unit' =&gt; 'lb', 'volume&#95;unit' =&gt; 'in',  And so on. I intend to change this to metric but want to make sure it won't effect anything else. All of my measurments are in metric - g/mm etc. I have everything in the backend (products etc.) set to Grams and Millimeters so should I use g &amp; mm or KG &amp; CM???  Thanks.")*

Thanks for the advice ![:)](/media/kunena/emoticons/8.png ":)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODg5MzYxLWltcGVyaWFsLXdlaWdodHMtYWZ0ZXItZmVkZXgtdXBkYXRlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.344 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
