I have a multi vendor store. I need a nop 4.2 plugin that can filter categories based on the selected vendor. So, it means if Vendor1 has C1 and C2 as the categories and Vendor 2 has C2 and C3 as the categories then I will only be able to see C1 and C2 categories on the vendor1 catalog page. Similarly for Vendor 2, I should only see C2 and C3.
I don't want to do it through Ajax calls which gives performance issues and considered bad approach. I need a proper plugin with its separate controller and URL routing.
After making plugin, it should follow URL routing in the following way:
When website is opened:
"https://abcstore.com/"
When a vendor is opened:
"https://abcstore.com/VendorName/"
When a category is selected while vendor is opened: "https://abcstore.com/VendorName/Category/"
When a subcategory is selected: "https://abcstore.com/VendorName/SubCategory/"
Please help me in this matter.
Thanks