Mohamed Samara

Results 23 comments of Mohamed Samara

@smartupnish thanks for the suggestion, It would be a nice feature. This feature is not on the priority list but I'll keep it open for future enhancements.

@frontend56 did you change any of the package.json [scripts](https://github.com/mohamedsamara/mern-ecommerce/blob/master/package.json#L13) or the [Procfile](https://github.com/mohamedsamara/mern-ecommerce/blob/master/Procfile)? You need to add the env variables - same ones in the .env.example to the Heroku project settings.

@midlaj4466 I replied [here](https://github.com/mohamedsamara/mern-ecommerce/issues/163#issuecomment-1175487949)

@midlaj4466 sorry for the late reply. Did you change anything in the package.json script? if you deleted the client directory and this still running, then it is possible that it...

@midlaj4466 the undefined is supposed to be apiURL make sure you add BASE_API_URL=api in the env file. Checkout the .env.example. [Example](https://github.com/mohamedsamara/mern-ecommerce/blob/master/.env.example)

@forestrr I tried to initialize the project with no db collections and still didn't see this error. How does your database collections look like? Are there any seeded data already?

@kainatkiranrashid2 make sure the product is active. From the sidebar products, click on any product to edit and change "is active" field to active so that it appears on the...

Try to add brand and assign the product to the brand and see if it shows up, make sure brand is active. There is a chance it is not pulling...

@kainatkiranrashid2 please make sure the product is assigned to a brand or they won't appear in the shop.

@errorLAD @kainatkiranrashid2 can you please provide more information on the issue?