Example : Actual website

If the issue occurs

Solution: Take the website setup
Commerce -> website -> Website list -> Take the website
Activate the Rebuild Search index as shown below

After proper cache invalidation the shop category is appears on the website

Thank you