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

Command icon 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

damienmckenna created an issue. See original summary.

damienmckenna’s picture

Title: Shipping options not showing? » Shipping address fields not showing?
Issue summary: View changes
jsacksick’s picture

hm... Do you have the shipping method field configured in the form display? Do you have auto recalculation turned on for the shipping information pane?

damienmckenna’s picture

Component: Miscellaneous » Documentation
Category: Support request » Task
Status: Active » Needs review
StatusFileSize
new93.94 KB
new85.61 KB

ARGH!

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.

jsacksick’s picture

Status: Needs review » Fixed

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.

fonant’s picture

At least one product variation in the Cart also needs to be of a type with the "Shippable" trait selected :)

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.