I want to allow forward slash into product,category url (nop4.3)

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
3 年 前
I want to allow forward slash into product,category url. my nopCommerce version is 4.3

e.g.
1) I have set apple product seName to "/product/appleProduct". now if i hit this sename into url then its should be open.
2) I have set electronic category seName to "/category/electronic". now if i hit this sename into url then its should be open.
3 年 前
Hello,

What you tried so far ? Can you share something ?

Thanks,
Jatin
3 年 前
In GenericUrlRouteProvider file I have made below changes

endpointRouteBuilder.MapDynamicControllerRoute<SlugRouteTransformer>("{**slug}");

** allow us to find the forward slash url into SlugRouteTransformer method
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.