-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Component(s) affected: Next.js Boilerplate - Complete ecommerce
Description
The _frontpage-2021 folder contents are not displaying in the root page.
How to reproduce
- Create a new empty tenant.
- Install the local service API with
npx @crystallize/cli my-api-projectand selecting:- Vercel platform
- own tenant
- no dummy data
- Install the Next.js Boilerplate with
npx @crystallize/cli my-project, selecting:- full e-commerce flavour
- local service API URL (http://localhost:3001/api/graphql)
- own tenant
- no dummy data
Run yarn dev on both projects and navigate to localhost:3000. An empty page with no content is shown (only the menus, shop logo and footer).
Although selecting always that I am using my own tenant, the new empty tenant is polluted with a catalog, with "Shop", "Stories" and "About" folders, together with "_frontpage-2021" and "_assets". The "_frontpage-2021" has a title "Retail eCommerce demo powered by Crystallize" but this title doesn't show in the home page of my running site. If I write more content in the "_frontpage-2021" as explained in the videos it is not displaying.
I repeated the process many times so I am sure that I didn't accidentally selected to use the FRNTR data, so that is not why my catalog is full of pages that I didn't create.
Possible Solution
I couldn't find any reference in the frontend code to "_frontpage-2021", but only to "frontpage-2021" without the leading underscore. I tried renaming the catalog folder just in case it had been renamed in the code and not updated in the videos, but it didn't fix the issue.
Additional context
Site home page:
Catalog folders (polluted by some script, I never created them):

