It will be great if we can manage the url_alias of the account or checkout module for example.
http://www.mydomain.com/index.php?route=account/login => http://www.mydomain.com/login
http://www.mydomain.com/index.php?route=account/register => http://www.mydomain.com/register
http://www.mydomain.com/index.php?route=checkout/cart => http://www.mydomain.com/cart
http://www.mydomain.com/index.php?route=information/conctat => http://www.mydomain.com/contact-us
So much pretty url !
It will also hide the name of the router variable on index.php page.510 votes
We will be looking into adding this in a version soon.
When you edit the SEO url alias of a product, category or manufacturer, it will be great if the old one were not deleted from the database but just pointing to the new url.
So if a search engine looks the url it save, it will not lead on a 404 error page but on the new url threw a 301 redirection.172 votes
The way OC handle language files is very poor, like the code above you need to set the texts manually one by one. Why not use Gettext or another solution more simple and automated. By the way, many parts of OC could be better automated, to do not repeat code.
$this->data['heading_title'] = $this->language->get('heading_title');
$this->data['text_my_account'] = $this->language->get('text_my_account');
$this->data['text_my_orders'] = $this->language->get('text_my_orders');
$this->data['text_my_newsletter'] = $this->language->get('text_my_newsletter');
OC has been starting to use Crowdin to manage language packages. It’s usage has not yet been adopted properly but it is being done.
The latest version of OC language library will also contains a method called all() which will return all language strings loaded.
- Don't see your idea?