I have two websites and am looking to create a dynamic Nav Bar that works across both store fronts.
Because I'm trying to make it dynamic I'll most likely load the current store_id then find the collection related to that.
Is there a way I can list the names of all the Product root categories for a given website?
and is there a way to get all the sub categories of the website?
Here is a picture of the categories I'm talking about as an example:
Let me know if you have any questions or need clarification!