chec / commercejs-nextjs-demo-store

Commerce demo store built for the Jamstack. Built with Commerce.js, Next.js, and can be one-click deployed to Netlify. Includes product catalog, customer login, categories, variants, cart, checkout, payments (Stripe) order confirmation, and printable receipts.
https://commercejs-demo-store.netlify.app/
BSD 3-Clause "New" or "Revised" License
1.07k stars 206 forks source link

Not Seeing Shipping Information #100

Closed slavakurilyak closed 4 years ago

slavakurilyak commented 4 years ago

Hey 👋.

When replicating the demo, I am having an issue seeing shipping information on the order page within Commerce.js

Here's a screenshot of what I see.

screen

Please advise.

robbieaverill commented 4 years ago

Hi there, the shipping information is displayed in a separate section: "Shipping address"

robbieaverill commented 4 years ago

For example: image

slavakurilyak commented 4 years ago

@robbieaverill I am not seeing the Shipping Address section.

Here is what I see:

screen 1

screen

robbieaverill commented 4 years ago

I see. The product "NotSoBasic Socks" in this case does not have physical delivery enabled, so the shipping address is not captured against the order. Is the product one of the defaults that is created by the demo store's seeder?

slavakurilyak commented 4 years ago

@robbieaverill The socks are a new product, not part by the seeder. The physical delivery is enabled for this product.

Here's what I see from Commerce.js side:

screen

Here's what I see from Next.js side:

Screen Recording 2020-09-03 at 04 15 57 PM

robbieaverill commented 4 years ago

You need to click "Enable" in the "Shipping Options" section of that first screenshot to enable shipping for the product

slavakurilyak commented 4 years ago

@robbieaverill Thanks for clarifying.

I added the US and Canada to the Commerce.js settings via https://dashboard.chec.io/settings/shipping.

screen 1

screen 2

After redeploying the site, I see the following error:

screen

robbieaverill commented 4 years ago

@slavakurilyak have you enabled the "US and Canada" shipping zone in your product configuration? It's in the "Shipping Options" section from your earlier screenshot.

slavakurilyak commented 4 years ago

@robbieaverill That worked! I needed to click to enable "Shipping Options" and enable zone for "US and Canada". Consider adding a note for shipping options in the README file. 🙌