New ship by weight entries not working with 3.8

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
7 years ago
We have just updated to Nop 3.8 from 3.6 and so the products and data were already converted from the earlier version. We recently added a new shipping location to the Shipping by Weight list so we had weights and prices for Gibraltar. Everything was added exactly as we had done before for all other countries but it shows "Shipping options could not be loaded" in the shipping estimate, yet all the previous countires work fine. When I inspected the list of shipping By Weight entries, I noticed just one difference with the new ones we added for Gibraltar, and that was the Store Name. All the previous entries had the original store name showing in that column, whereas our new Gibraltar entires only had the catch all * symbol. Without updaing that directly in the database to test it, can you see this being the problem? We have no Warehouses set up as we only have one retail shop and didn't need it before. I am worried that adding a warehouse would mean we them need to update all the other 500 entries for Shipping by weight, so I am a bit worried about setting one. Could you let me know please?
7 years ago
I can't think of any reason that this would happen except that there is something else wrong with the new entries.  Check the Weight from/to and be sure they are correct.  In particular, that there is a catch-all record(s) with "Order weight to: 1000000.00".
7 years ago
Thanks for the reply. I checked all the Gibraltar entires against the United States entries (which work correctly) and all are identical with the ranges. The catch all looks like this as you suggested but it still gives the "Shipping options could not be loaded" error in the cart checkout shipping estimate:

Order weight from: 8001.00
Order weight to: 1000000.00
Additional fixed cost: 155.00
Rate per weight unit: 0.00
Lower weight limit: 0.00
Charge percentage (of subtotal): 0.00

Any other suggestions? As mentioned before the only thing I can see that is obviously different is the Store Name column.
7 years ago
Just for the sake of it I added a completely new shipping location with one catch all from 0 - 1000000 and tested it and it got the exact same error of "Shipping options could not be loaded"

Here is what it was set up as in the shippping by weight entry (Cut and pasted from across the columns):

  *  Congo  *  *  Standard Shipping Australia Post  
Order weight from: 0.00
Order weight to: 1000000.00
Additional fixed cost: 200.00
Rate per weight unit: 0.00
Lower weight limit: 0.00
Charge percentage (of subtotal): 0.00

So it seems ANY new entires just give the "Shipping options could not be loaded" error
7 years ago
1) Be sure to check that Shipping By Weight is the Active Shipping Provider.  (and the only active one)
2) Check the System > Log immediately after seeing the message.
3) Add a catch-all with * for everything (including country, state, zip) ans 0 - 10000000, etc.
7 years ago
Thanks again for your reply mate.

I already had Shipping By Weight activated and it is the only one activted.

I then created the "Shipping options could not be loaded" error in the checkout again and went to the Log and it didn't show anything, even after creating the error 3 times.

I then created a catch-all for everything as you suggested and the error was still the same.

I then tried clearing the application cache from the top right settings in the admin area, and also did a Reatart Application, neither had any effect and the "Shipping options could not be loaded" error still appeared when I set the country to Gibraltar (or Congo like I added the other day as a test) and tried to get an estimate OR went through checkout to the shipping page.

No new 'Shipping By Weight' items can be added as they don't work any more. Only the ones that were created prior to the update are working. What could possibly have happened in the update that will no longer let us add new entires to the Shipping By Weight system?

Thanks again for your help.
7 years ago
This post might be helpful for you
7 years ago
Thanks for this link Sergei. I read that post previously. I already have the settings so that only Shipping By Weight is active and it is not restricted to any country.



As well as the Shipping not being restricted to any country, it is also activated in  the country we were testing on; Gibraltar.



Also, the weight of the products in the cart we are trying to get an estimate for are well within limit of what we have added.
7 years ago
The problem is that you have all the records configured for a particular store, but the new ones you have added without taking in account this parametr.

The algorithm works luke that: firstly filters by weight and by the store, and then by the rest of the parameters. You need to run this script to fix your problem:
update [ShippingByWeight] set [StoreId] = <your store id> where StoreId=0
7 years ago
Hi Sergei
Thanks mate! That sorted the problem as you said, now all the estimates are working perfectly.

This gives me a new question....

When you add new items to the version I have (3.8) there is no way of adding the Store ID in the new entry box:



So if I add any new shipping by weight records in the future, I will have to run this script (or change the ID directly in the database) each time I add a record? Is this just a trait of 3.8 and maybe something that was addressed in 3.9 that has just come out?

Again, thanks so much for your help Sergei.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.