Hello, we're going to use Prestashop and have it almost ready, but we've found an issue: using the webservice, I've imported the users we already have on our website. What I want to do now is that when a new customer want to register an account, he should register on our website, not on Prestashop. I've found the file authentication.tpl in the themes/classic/templates/customer/ folder which contains the following code:
{** * 2007-2019 PrestaShop and Contributors * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License 3.0 (AFL-3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/AFL-3.0 * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to [email protected] so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to https://www.prestashop.com for more information. * * @author PrestaShop SA <contact@prestashop.com> * @copyright 2007-2019 PrestaShop SA and Contributors * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) * International Registered Trademark & Property of PrestaShop SA *} {extends file='page.tpl'} {block name='page_title'} {l s='Log in to your account' d='Shop.Theme.Customeraccount'} {/block} {block name='page_content'} {block name='login_form_container'} <section class="login-form"> {render file='customer/_partials/login-form.tpl' ui=$login_form} </section> <hr/> {block name='display_after_login_form'} {hook h='displayCustomerLoginFormAfter'} {/block} <div class="no-account"> <a href="{$urls.pages.register}" data-link-action="display-register-form"> {l s='No account? Create one here' d='Shop.Theme.Customeraccount'} </a> </div> {/block} {/block}
I thought that if I change this section
<div class="no-account"> <a href="{$urls.pages.register}" data-link-action="display-register-form"> {l s='No account? Create one here' d='Shop.Theme.Customeraccount'} </a> </div>
To this
<div class="no-account"> <a href="http://www.domain.com/registratio" > {l s='No account? Create one here' d='Shop.Theme.Customeraccount'} </a> </div>
It would work, but nothing happened. If I go to the login page, the link for new customer registration is still the same than before the change.
How can I change this link and achieve what I'm searching for?
Thank you and best regards