magento2 icon indicating copy to clipboard operation
magento2 copied to clipboard

Translatable or changable URLs / named routes

Open FiveDigital opened this issue 12 years ago • 5 comments

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.

FiveDigital avatar Apr 16 '14 14:04 FiveDigital

@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.

verklov avatar Apr 16 '14 16:04 verklov

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

FiveDigital avatar Apr 17 '14 06:04 FiveDigital

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

IvanChepurnyi avatar Apr 17 '14 10:04 IvanChepurnyi

Internal ticket: MAGETWO-23631

vpelipenko avatar Jan 29 '15 11:01 vpelipenko

Thank you for your submission.

We recently made some changes to the way we process GitHub submissions to more quickly identify and respond to core code issues.

Feature Requests and Improvements should now be submitted to the new Magento 2 Feature Requests and Improvements forum (see details here).

We are closing this GitHub ticket and have moved your request to the new forum.

piotrekkaminski avatar Aug 30 '16 19:08 piotrekkaminski