mern-ecommerce
mern-ecommerce copied to clipboard
Products not shown in product page
Hello , Mohammad Samara, I have added few products, but these are not shown when i click shop Pls check and help me get the solution,
Thanks
@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 shop.
It is active, but still does not show up
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 products with no brands.
Brands products are shown in brands, but when i click shop , they do not show their as well
@kainatkiranrashid2 Seems like you have added a price of more than $500. Due to which filters are restricting it to show you. You can remove the hard-coded part from the code and assign the largest price of products in the filters.
@kainatkiranrashid2 please make sure the product is assigned to a brand or they won't appear in the shop.
@kainatkiranrashid2 Seems like you have added a price of more than $500. Due to which filters are restricting it to show you. You can remove the hard-coded part from the code and assign the largest price of products in the filters.
Perfect, Thanks for the fix, I was worried as well. Just look for the range slider component under client/app/components/common/RangeSlider and change the maximum value to cater for your needs.
Products are not shown in SHOP ,all are assigned to brand and with in the the price range but cant see in brands or shop and every product is active as well
Closing this issue. If the products are shown or not, it depends on the filters passed along with the request like the price range for example. However the the API works as expected.