commerce
commerce copied to clipboard
Swell page content doesn't get fetched
Steps to reproduce
- Use the following fields in .env.local
# Available providers: local, bigcommerce, shopify, swell, saleor, spree, ordercloud, vendure, kibocommerce, commercejs
COMMERCE_PROVIDER=swell
SWELL_STORE_DOMAIN=
SWELL_STOREFRONT_ACCESS_TOKEN=
NEXT_PUBLIC_SWELL_STORE_ID=
NEXT_PUBLIC_SWELL_PUBLIC_KEY=
-
Configure 'commerce.config.json' as the following
-
Configure project and run project locally
npm i && npx next dev
-
Fill swell storefront pages with content
-
See page content not being fetched for pages in footer, swell demo has same issue
Hey, swell does not support wishlists out-of-the-box. Here are their docs.
Ran into the same problem myself. The problem is not fetching the data, but the lack of normalization - Swell pages are comprised of sections
, which need to be somehow mapped to HTML that can be stored inside of body
property.
Hey there! Thank you for opening this issue. We have decided to take Next.js Commerce in a new direction and will be closing out current PRs and issues due to this change. Please see this PR for more details: https://github.com/vercel/commerce/pull/966