My Setup:
Ubuntu 20.04.1 LTS
Apache 2.4.41
MySQL 8.0.22
PHP 7.4.3
Elasticsearch 7.6.2
Java 11.0.9
Composer 1.10.16
Magento 2.4.0
Skipped postfix part and disabled TwoFactor_Auth module
Products are synced every 6 hours from third party vendor (Inventory Source), through API, around 100000 products in total, I verified that products are loaded into database.
Shared or Dedicated Server ?
DigitalOcean droplet with 40/mo plan 80GB SSD/4vCores/8GB RAM
Did you setup the server or install Magento yourself ?
Yes to both
What I’m trying to do ?
Display products on the homepage and various categories, when i clicked categories and subcategories.
I get products when I do search, and when I click on a particular product, it gets displayed correctly.
I merged 4 images into one, as new accounts are allowed to attach only 1 file.
I think I am missing a basic setting, please help me.
Thank you so much.
Still no luck.
3. Products not assigned to a category.
Kindly let me know, where I can check this.
4. Categories require reindexing.
Does that require a special command, but my guess is that indexer:reindex already does that right.
You can directly open this, and see if the fixes we are trying are working or not:
Yes, that reindex command does it all. I’ve exhausted the obvious options now. You can verify if Products are listed within the Categories by going into Catalog > Categories > (Category) > Products in category.
Out of curiosity, do Products show when you create them directly in the backend? That would rule out a Magento issue and point you in the direction of the API configuration.
It’s rare I offer, as I simply don’t have the time… But if you want to DM a custom login for the backend, I’ll have a poke around the settings for 5 minutes to see if anything stands out. I can’t promise I’ll find anything though.
Problem:
Product Attribute ‘upc’ is text field, which has Is Filterable set to yes. This is set from a third party, large number of products are synced through APIs.
Solution:
We removed the ‘upc’ attribute from the Default Attribute set.
That’s it. Now the products are getting visible in their respective categories