Closed (cannot reproduce)
Project:
Commerce Shipping
Version:
7.x-2.0-beta1
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
29 Dec 2012 at 15:36 UTC
Updated:
1 Jun 2017 at 07:54 UTC
Jump to comment: Most recent
Comments
Comment #1
googletorp commentedOn a side note you should use 2.0.
This error you receive is because there is no matching shipping service found, either you didn't configure your shipping service correctly or didn't do it at all. A problem could be conditions in the rules not met, like requiring the user to ship to EU, but having entered an address in the USA.
Comment #2
guy_schneerson commentedThis behavior is controlled by a variable that by default is set to FALSE but you for some reason have it set to TRUE see No user Interface (UI) for global shipping configuration
to turn it off you can add the following to your code i use hook_init()
Comment #3
guy_schneerson commentedas @googletorp kindly pointed out this configuration is available on the checkout pane: admin/commerce/config/checkout/form/pane/commerce_shipping
Comment #4
summit commentedHi, thanks for this valuable information!
Greetings, Martijn
Comment #5
lidia_ua 🇺🇦 commentedI had this error because I added field_demensions and field_weight to Product display. It should be added instead in Variation types.
Comment #6
a.d2000 commentedI am also getting the same issue. I enabled checkbox of "Require a shipping service at all times, preventing checkout if none are available.".
Configured Flat Rate but it is not displaying on frontend. If city is Colarado then apply Free shipping but it is not working. I can't see any shipping method.
Showing me error :"No valid shipping rates found for your order, and we require shipping service selection to complete checkout. Please verify you have supplied all required information or contact us to resolve the issue."
Please help me What can I do to resolve this.
Comment #7
theodorosploumisFor me the error was caused by a faulty code on a custom Shipping module.
The loop to get line items from current order was wrong (probably used an outdated code for commerce 1.x and not 2.x). The correct loop to get line items from an order is this:
I suggest checking at any custom or contributed module that uses code to get line items from order inside a function.
Comment #8
defra_touch commentedThanks @guy_schneerson, your solution worked for me!