cancel
Showing results for 
Search instead for 
Did you mean: 

Translatable or changable URLs / named routes

0 Kudos

Translatable or changable URLs / named routes

Feature request from FiveDigital, posted on GitHub Apr 16, 2014

Right now, there is not possibility to translate (or change) the routes generated for the frontend. The route to the basket is always /checkout/cart and it would be nice if we could configure or change the routes on a store view base. So that we can have /warenkorb in the German store view and /basket in the English one. Other frameworks like Symfony take the route in the templates and look up how to generate the URL for the frontend in the config (see http://symfony.com/doc/current/book/routing.html). Perhaps this could be a way for Magento too. The route name for the checkout could remain /checkout/cart but it resolves to whatever I have configured for in my store view and have a fallback to a default URL.

Are there any plans to change the routing / URL behavior in Magento 2? If not, perhaps you might think of taking it into your backlog.

5 Comments
apiuser
New Member
Status changed to: Investigating
 
apiuser
New Member

Comment from verklov, posted on GitHub Apr 16, 2014

@FiveDigital, thank you for the idea! We will consider having this ability in Magento 2. I will get back to you once I know more.

apiuser
New Member

Comment from FiveDigital, posted on GitHub Apr 17, 2014

Thank you @verklov! I really hope this features makes it into Magento 2.

apiuser
New Member

Comment from IvanChepurnyi, posted on GitHub Apr 17, 2014

This one is already implemented as a community module in 1.x: https://github.com/magento-hackathon/Hackathon_CustomUrls

apiuser
New Member

Comment from vpelipenko, posted on GitHub Jan 29, 2015

Internal ticket: MAGETWO-23631