Jump to content

PS 1.7.7 - Adding Links at Footer My Account


Recommended Posts

Hi,

I am using PS 1.7.7 and I want to add following on the footer at My Account.

Position: Footer
Block: My Account

1. I managed to get rid of credit slip

2.Now I want to add addionally links:

A. Create Account = when english language: Create New Account = when french store: Créer un nouveau compte
+
B. Password Forgotten= when english language: Password Forgotten? = when french store: Mot de passe oublié?

=> should be shown when choosing different languages

Actually my ps_customeraccountlinks.php at modules > ps_customeraccountlinks looks like this:

$my_account_urls = [
            4 => [
                'title' => $this->trans('Orders', [], 'Admin.Global'),
                'url' => $link->getPageLink('history', true),
            ],
            2=> [
                'title' => $this->trans('Login', [], 'Modules.Customersignin.Admin'),
                'url' => $link->getPageLink('my-account', true),
            ],
            5 => [
                'title' => $this->trans('Addresses', [], 'Shop.Theme.Global'),
                'url' => $link->getPageLink('addresses', true),
            ],
            3 => [
                'title' => $this->trans('Personal info', [], 'Modules.Customeraccountlinks.Admin'),
                'url' => $link->getPageLink('identity', true),
            ],
        ]; 


What should I add, there? What are the Module names etc.
I would add:
0 =>

1 => 

Can someone help out, would be great!!
Thanks a lot
Bjorn

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...