Problem/Motivation
I'm looking for suggestions on what to look at if my site's shipping address fields aren't showing up?
I'm building a D10/Commerce 2 site as an upgrade to a D7/Commerce 1 site, the products are configured to be shippable, they have dimensions & weight, I have the shipping information set to show on the first page of the checkout, I have a bunch of shipping rates defined using the API details for the FedEx and USPS accounts, there's a shipping type defined and a package type, and the shipping information pane is set up to show on all of the checkout flows. But no shipping address fields appear on the checkout page. I enabled API logging in the fedex and usps shipping types but don't see anything in the logs when I load the checkout page.
Any pointers on where I should start looking? Thank you.
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | Screenshot 2025-09-06 at 1.36.49 PM.png | 85.61 KB | damienmckenna |
| #5 | Screenshot 2025-09-06 at 1.37.45 PM.png | 93.94 KB | damienmckenna |
Issue fork commerce_shipping-3545264
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
damienmckennaComment #3
jsacksick commentedhm... Do you have the shipping method field configured in the form display? Do you have auto recalculation turned on for the shipping information pane?
Comment #5
damienmckennaARGH!
I found it!
On the "Order type" edit form there was a checkbox labeled "Enable shipping for this order type" that was disabled. I enabled that checkbox and then the fields showed as expected.
I aded a MR that clarifies the setup instructions.
Comment #7
jsacksick commentedComment #9
fonant commentedAt least one product variation in the Cart also needs to be of a type with the "Shippable" trait selected :)