commerce icon indicating copy to clipboard operation
commerce copied to clipboard

Swell page content doesn't get fetched

Open wlaj opened this issue 2 years ago • 1 comments

Steps to reproduce

  1. 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=
  1. Configure 'commerce.config.json' as the following Code_HQvVRFcZDf

  2. Configure project and run project locally npm i && npx next dev

  3. Fill swell storefront pages with content chrome_OcUzfbjNPz

  4. See page content not being fetched for pages in footer, swell demo has same issue chrome_6NRXV3dE4D

wlaj avatar Jan 08 '22 13:01 wlaj

Hey, swell does not support wishlists out-of-the-box. Here are their docs.

charkour avatar Jan 10 '22 00:01 charkour

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.

Skenja avatar Nov 16 '22 14:11 Skenja

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

leerob avatar Apr 18 '23 02:04 leerob