hurray Posted June 29, 2021 Share Posted June 29, 2021 Bonjour, J'ai un petit problème avec ma boutique. En haut a gauche sur mon site j'ai des options "Identifiez-vous"/"Créez un compte". Quand je clique sur "Créez un compte", je suis diriger vers la page de l'accueil. C'est-a-dire ça ne fait rien. Quelqu'un peut m'aider svp? Ci-joint une capture d’écran. Merci Link to comment Share on other sites More sharing options...
Eolia Posted June 29, 2021 Share Posted June 29, 2021 Enlevez le ?back=my-account dans l'url du tpl qui n'a rien à faire ici et https://www.savdana.com/identification-savdana fonctionne^^ Link to comment Share on other sites More sharing options...
hurray Posted June 29, 2021 Author Share Posted June 29, 2021 Merci de votre réponse rapide. Dans quel fichier se trouve ce lien? Link to comment Share on other sites More sharing options...
Eolia Posted June 29, 2021 Share Posted June 29, 2021 Module blockuserinfo -> nav.tpl (dans le thème ou dans le module lui-même si pas présent dans le thème) Link to comment Share on other sites More sharing options...
hurray Posted June 29, 2021 Author Share Posted June 29, 2021 Je ne trouve pas un ficher Nav.tpl. Mais en regardant dans le module blockuserinfo, j'ai trouvé un ficher blockuserinfo.tpl et voila. Donc quel changement?? {* * 2007-2012 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (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: * http://opensource.org/licenses/afl-3.0.php * 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 http://www.prestashop.com for more information. * * @author PrestaShop SA <[email protected]> * @copyright 2007-2012 PrestaShop SA * @version Release: $Revision: 6594 $ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} <!-- Block user information module HEADER --> <div id="header_user"> <ul id="header_nav"> {if !$PS_CATALOG_MODE} <li id="shopping_cart"> <a href="{$link->getPageLink($order_process, true)}" title="{l s='Your Shopping Cart' mod='blockuserinfo'}"> {l s='Cart' mod='blockuserinfo'} (<span class="ajax_cart_quantity{if $cart_qties == 0} shidden{/if}">{$cart_qties}</span><span class="ajax_cart_product_txt{if $cart_qties != 1} shidden{/if}">{l s='' mod='blockuserinfo'}</span><span class="ajax_cart_product_txt_s{if $cart_qties < 2} shidden{/if}">{l s='' mod='blockuserinfo'}</span><span class="ajax_cart_total{if $cart_qties == 0} shidden{/if}">{if $cart_qties > 0}{if $priceDisplay == 1}{assign var='blockuser_cart_flag' value='Cart::BOTH_WITHOUT_SHIPPING'|constant}{convertPrice price=$cart->getOrderTotal(false, $blockuser_cart_flag)}{else}{assign var='blockuser_cart_flag' value='Cart::BOTH_WITHOUT_SHIPPING'|constant}{convertPrice price=$cart->getOrderTotal(true, $blockuser_cart_flag)}{/if}{/if}</span><span class="ajax_cart_no_product{if $cart_qties > 0} shidden{/if}">{l s='0' mod='blockuserinfo'}</span>)</a></li>{/if} <li id="your_account"><a href="{$link->getPageLink('my-account', true)}" title="{l s='Your Account' mod='blockuserinfo'}">{l s='Your Account' mod='blockuserinfo'}</a></li> </ul> <p id="header_user_info"> {if $logged} <a href="{$link->getPageLink('my-account', true)}" class="account hidden-phone"><span>{$cookie->customer_firstname} {$cookie->customer_lastname}</span></a> <a href="{$link->getPageLink('index', true, NULL, "mylogout")}" title="{l s='Log me out' mod='blockuserinfo'}" class="logout">{l s='Log out' mod='blockuserinfo'}</a> {else} <a id="openloginform">{l s='Log In' mod='blockuserinfo'}</a> {l s='or' mod='blockuserinfo'} <a href="{$link->getPageLink('my-account', true)}" class="login">{l s='Create An Account' mod='blockuserinfo'}</a> {/if} </p> </div> <!-- /Block user information module HEADER --> <script type="text/javascript"> $(document).ready(function () { $("#openloginform").live("click",function(){ $('#loginform').show(); }); $("#closeloginform").live("click",function(){ $('#loginform').hide(); }); }); </script> Link to comment Share on other sites More sharing options...
Eolia Posted June 30, 2021 Share Posted June 30, 2021 si c'est celui-là (Mais vérifiez s'il n'est pas dans votre thème car ce sera celui-là qui sera utilisé en priorité) il faut modifier ce bloc <a id="openloginform">{l s='Log In' mod='blockuserinfo'}</a> {l s='or' mod='blockuserinfo'} <a href="{$link->getPageLink('my-account', true)}" class="login">{l s='Create An Account' mod='blockuserinfo'}</a> par <a id="openloginform">{l s='Log In' mod='blockuserinfo'}</a> {l s='or' mod='blockuserinfo'} <a href="{$link->getPageLink('authentication', true)}" class="login">{l s='Create An Account' mod='blockuserinfo'}</a> 1 Link to comment Share on other sites More sharing options...
hurray Posted June 30, 2021 Author Share Posted June 30, 2021 J'ai trouvé ce fichier dans le thème et j'ai fait la modification. Votre solution a très bien fonctionné. Merci beaucoup pour votre aide C’était très gentil. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now