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

#   Shipping method not found after upgrade

##

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

Less More

- Posts: 2
- Thank you received: 0
-
-

11 years 6 months ago [\#198320](#198320) by [Daversion](/forum/user/36897-daversion "View Daversion's Profile")  *[Shipping method not found after upgrade](/forum/25-install-update/876335-shipping-method-not-found-after-upgrade#198320 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.3.10  We recently upgraded this site to HikaShop 2.4.0. Before then everything had been working fine, but now when you try to checkout you get the message &quot;Shipping method not found&quot;. There is only one shipping method and it is enabled, and it makes no difference if the selection is set to choose it automatically or not. We have been unable to see why it is not working.")* was created by *[Daversion](/forum/user/36897-daversion "View Daversion's Profile")*

-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.4.1
-- PHP version -- : 5.3.10

We recently upgraded this site to HikaShop 2.4.0. Before then everything had been working fine, but now when you try to checkout you get the message "Shipping method not found". There is only one shipping method and it is enabled, and it makes no difference if the selection is set to choose it automatically or not. We have been unable to see why it is not working.

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

11 years 6 months ago [\#198326](#198326) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Shipping method not found after upgrade](/forum/25-install-update/876335-shipping-method-not-found-after-upgrade#198326 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.3.10  We recently upgraded this site to HikaShop 2.4.0. Before then everything had been working fine, but now when you try to checkout you get the message &quot;Shipping method not found&quot;. There is only one shipping method and it is enabled, and it makes no difference if the selection is set to choose it automatically or not. We have been unable to see why it is not working.")*

Hi,

Would it be possible to have more details about your shipping method configuration ?
A screenshot of his configuration could be useful as a screenshot of your HikaShop configuration for the "shipping" section.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 2
- Thank you received: 0
-
-

11 years 6 months ago [\#198488](#198488) by [Daversion](/forum/user/36897-daversion "View Daversion's Profile")  Replied by *[Daversion](/forum/user/36897-daversion "View Daversion's Profile")* on topic *[Shipping method not found after upgrade](/forum/25-install-update/876335-shipping-method-not-found-after-upgrade#198488 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.3.10  We recently upgraded this site to HikaShop 2.4.0. Before then everything had been working fine, but now when you try to checkout you get the message &quot;Shipping method not found&quot;. There is only one shipping method and it is enabled, and it makes no difference if the selection is set to choose it automatically or not. We have been unable to see why it is not working.")*

The system was using the Australia Post shipping plugin but we have found that the issue does not lie within it, but appears to be a twofold issue. The first was that it now requires dimensions, when none were needed before. Adding dummy dimensions brought up the shipping option. However, a second problem was that it was then adding weights and lengths multiple times, which we eventually found was due to product variants, in which the system is adding the weight (and length) of the product again for each variant found. It looks like this commenced in version 2.3.5 and has not been addressed in 2.4.0. It also seems to now require dimensions, even though before these were not required. We have had to put in dummy dimensions for each product, and have had to put in a very small weight for the main product (it would not accept a zero weight) and then add the correct weight to the variant. This seems to be a rather foolish way of doing things (especially since the variants are mainly colours and do not change the weight!). Once we have set dummy dimensions and set the weight in each variant (quite a job for hundreds of products) then the system would calculate freight correctly.

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

11 years 6 months ago [\#198519](#198519) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Shipping method not found after upgrade](/forum/25-install-update/876335-shipping-method-not-found-after-upgrade#198519 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.3.10  We recently upgraded this site to HikaShop 2.4.0. Before then everything had been working fine, but now when you try to checkout you get the message &quot;Shipping method not found&quot;. There is only one shipping method and it is enabled, and it makes no difference if the selection is set to choose it automatically or not. We have been unable to see why it is not working.")*

Hi,

Please edit the file "administrator/components/com_hikashop/helpers/helper.php" and replace the contents
Code:

$ret = array('w' =&gt; 0, 'x' =&gt; 0, 'y' =&gt; 0, 'z' =&gt; 0); if(empty($order-&gt;products)) return $ret;

By Code:

$ret = array(); if(empty($order-&gt;products)) return array('w' =&gt; 0, 'x' =&gt; 0, 'y' =&gt; 0, 'z' =&gt; 0);

And also the content: Code:

$qty = 1; if(!empty($product-&gt;cart_product_quantity)) $qty = (int)$product-&gt;cart_product_quantity; if(!empty($product-&gt;order_product_quantity)) $qty = (int)$product-&gt;order_product_quantity;

By Code:

$qty = 1; if(isset($product-&gt;cart_product_quantity)) $qty = (int)$product-&gt;cart_product_quantity; if(isset($product-&gt;order_product_quantity)) $qty = (int)$product-&gt;order_product_quantity; if($qty == 0) continue;

You can also replace Code:

} else { if(empty($this-&gt;weightHelper)) $this-&gt;weightHelper = hikashop_get('helper.weight'); $weight += ((float)$this-&gt;weightHelper-&gt;convert($product-&gt;product_weight, $product-&gt;product_weight_unit, $weight_unit)); }

By Code:

} else { if(empty($this-&gt;weightHelper)) $this-&gt;weightHelper = hikashop_get('helper.weight'); $weight += ((float)$this-&gt;weightHelper-&gt;convert($product-&gt;product_weight, $product-&gt;product_weight_unit, $weight_unit)); } if($weight == 0) continue;

to exclude virtual products.

It should, I thing, fix your issue.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2luc3RhbGwtdXBkYXRlLzg3NjMzNS1zaGlwcGluZy1tZXRob2Qtbm90LWZvdW5kLWFmdGVyLXVwZ3JhZGU/dG1wbD1tYXJrZG93bg==) 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.149 seconds

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

[](#top)
