How can i add backslash "/" in sename of product or category?

Posted: April 14, 2017 at 5:37 AM Quote #186512
Hello,

I want to insert backslash "/" in SE Name of product or category but nopCommerce is not allowing to add.
I have changed code of validatesename method and allowed to insert backslash "/" in SE Name. But I am not able able open any page with SE Name that includes backslash "/". It's opening Page not found page.

After this I have registered new routes with multiple generic_se_name in GenericUrlRouteProvider.

//generic URLs
            routes.MapGenericPathRoute("GenericUrl1",
                                       "{generic_se_name}/{generic_se_name1}",
                                       new { controller = "Common", action = "GenericUrl" },
                                       new[] { "Nop.Web.Controllers" });

Also pass the multiple generic_se_name with backslash "/" in GenericPathRoute and it works for me. But Now other routes are not working.


Thanks,
Faiz
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Thank's,
Faiz Ahemed

NopAdvance - nopCommerce Solution Partner

Skype: live:faizahemad9098_1
Email: [email protected]
Website: https://nopadvance.com

For project inquiries: [email protected]
Posted: April 15, 2017 at 12:59 AM Quote #186541
Example, If my product Search engine friendly page name is "Apple/Macbook-Pro" then I need Search engine friendly page name as "Apple/Macbook-Pro" and if I open "mydomain.com/Apple/Macbook-Pro" then it should open that product.
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Thank's,
Faiz Ahemed

NopAdvance - nopCommerce Solution Partner

Skype: live:faizahemad9098_1
Email: [email protected]
Website: https://nopadvance.com

For project inquiries: [email protected]
Posted: April 15, 2017 at 11:56 PM Quote #186558
It's not supported out of the box (work item)
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Interested in the dedicated Premium support services provided by core developers? Please visit http://www.nopcommerce.com/supportservices.aspx

Regards,
Andrei Mazulnitsyn
Premium support services
  • Dedicated premium support services provided by core developers are intended for persons who run mission critical websites, work on projects with tight deadlines, or want to get dedicated support.
Professional services
  • Want to open a new store? Want to take your store to the next level? Need a custom extension? We can customize nopCommerce to fit your store perfectly. Request a quote to get started.