DEV Community

jonnawiberg
jonnawiberg

Posted on

next js commerce - pages from bigcommerce wont show up by being ignored from not having locales

Im using Next js commerce together with bigcommerce as my vendor, when im running my build command it should grab all the current pages on my bigcommerce and display them in my navigation, but next js is ignoring to display them because its complaining they do not include a locale. Im not planning on using any locale as of now so i just want to make it work. Anyone managed to get this work? Because i saw that the vercel demo store they get all the pages from bigcommerce displayed but im unsure if it has to do with a setting in bigcommerce or in my next-js.config file.
https://demo.vercel.store/ Check in the footer that the links represents the pages that come by default from bigcommerce, but they wont show up on my site that im trying to build.
Image description

Top comments (2)

Collapse
 
imthedeveloper profile image
ImTheDeveloper

Did you resolve this?

Collapse
 
maher_naija_b432e8e4557cc profile image
maher naija

i have made this boilerplate that aggregates all github boilerplates: github.com/maher-naija-pro/Best-Ne...