How can I display the list of all existing categories on one page?

1 hafta önce
I want to display the list of all existing categories (links) on one page.

How can I do it?

Thanks.
1 hafta önce
you can check CategoryNavigationViewComponent code
at this path Nop.Web\Views\Shared\Components\CategoryNavigation\Default.cshtml
there all the categories show as a link.
//Rashed
1 hafta önce
nopStation wrote:
you can check CategoryNavigationViewComponent code
at this path Nop.Web\Views\Shared\Components\CategoryNavigation\Default.cshtml
there all the categories show as a link.
//Rashed


Will this also work in version 3.90?
How can I do it, please?
1 hafta önce
You can simply create new component same way as CategoryNavigationViewComponent and implement it to the any page such as homepage or category. You will also need to create view inside your theme "\Views\Shared\Components\{Component name}\Default.cshtml".

You can also create widget type plugin instead of customization and you can use ready plugin template which nopCommerce provides.
https://github.com/nopSolutions/nopCommerce-plugin-template-VS/tree/nopCommerce-4.60

Best Regards,
Faiz
1 hafta önce
nopAdvance.com wrote:
You can simply create new component same way as CategoryNavigationViewComponent and implement it to the any page such as homepage or category. You will also need to create view inside your theme "\Views\Shared\Components\{Component name}\Default.cshtml".

You can also create widget type plugin instead of customization and you can use ready plugin template which nopCommerce provides.
https://github.com/nopSolutions/nopCommerce-plugin-template-VS/tree/nopCommerce-4.60

Best Regards,
Faiz


May I do it without touching the source code?
1 hafta önce
Yes. You can create plugin as I suggested in my last reply. You can follow nopCommerce developer guide for how to create plugin.
https://docs.nopcommerce.com/en/developer/plugins/how-to-write-plugin-4.60.html
https://github.com/nopSolutions/nopCommerce-plugin-template-VS/tree/nopCommerce-4.60

Best Regards,
Faiz
1 gün önce
nopAdvance.com wrote:
Yes. You can create plugin as I suggested in my last reply. You can follow nopCommerce developer guide for how to create plugin.
https://docs.nopcommerce.com/en/developer/plugins/how-to-write-plugin-4.60.html
https://github.com/nopSolutions/nopCommerce-plugin-template-VS/tree/nopCommerce-4.60

Best Regards,
Faiz


I am very sorry. Can you please help me do this? I cannot create plugin...