lydia881 Posted November 24, 2014 Share Posted November 24, 2014 Bonjour, Je voudrais insérer une phrase statique dans la page de confirmation de paiement Est ce qu'il faut juste insérer une balise <p></p> et si c'est le cas à quel niveau je dois la mettre ? Merci pour votre aide {* * 2007-2014 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-2014 PrestaShop SA * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} {capture name=path}{l s='Order confirmation'}{/capture} <h1 class="page-heading">{l s='Order confirmation'}</h1> {assign var='current_step' value='payment'} {include file="$tpl_dir./order-steps.tpl"} {include file="$tpl_dir./errors.tpl"} {$HOOK_ORDER_CONFIRMATION} {$HOOK_PAYMENT_RETURN} {if $is_guest} <p>{l s='Your order ID is:'} <span class="bold">{$id_order_formatted}</span> . {l s='Your order ID has been sent via email.'}</p> <p class="cart_navigation exclusive"> <a class="button-exclusive btn btn-default" href="{$link->getPageLink('guest-tracking', true, NULL, "id_order={$reference_order}&email={$email}")|escape:'html':'UTF-8'}" title="{l s='Follow my order'}"> <i class="icon-chevron-left"></i>{l s='Follow my order'}</a> </p> {else} <p class="cart_navigation exclusive"> <a class="button-exclusive btn btn-default" href="{$link->getPageLink('history', true)|escape:'html':'UTF-8'}" title="{l s='Back to orders'}"> <i class="icon-chevron-left"></i>{l s='Back to orders'}</a> </p> {/if} <!-- Google Code for Achat Conversion Page --> <div style="display:inline;"> <img height="1" width="1" style="border-style:none;" alt="" src="//www.googleadservices.com/pagead/conversion/983018840/?value=1.00¤cy_code=EUR&label=vWmDCJG981YQ2Nre1AM&guid=ON&script=0"/> </div> Link to comment Share on other sites More sharing options...
lydia881 Posted November 24, 2014 Author Share Posted November 24, 2014 J'ai la version 1.6 de prestashop Link to comment Share on other sites More sharing options...
YopixelAE Posted November 24, 2014 Share Posted November 24, 2014 (edited) {* * 2007-2014 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.or...ses/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-2014 PrestaShop SA * @license http://opensource.or...ses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} {capture name=path}{l s='Order confirmation'}{/capture} <h1 class="page-heading">{l s='Order confirmation'}</h1> {assign var='current_step' value='payment'} {include file="$tpl_dir./order-steps.tpl"} {include file="$tpl_dir./errors.tpl"} {$HOOK_ORDER_CONFIRMATION} {$HOOK_PAYMENT_RETURN} {if $is_guest} <p>{l s='Bonjour Guest, je suis un nouveau paragraphe'}</p> <p>{l s='Your order ID is:'} <span class="bold">{$id_order_formatted}</span> . {l s='Your order ID has been sent via email.'}</p> <p class="cart_navigation exclusive"> <a class="button-exclusive btn btn-default" href="{$link->getPageLink('guest-tracking', true, NULL, "id_order={$reference_order}&email={$email}")|escape:'html':'UTF-8'}" title="{l s='Follow my order'}"> <i class="icon-chevron-left"></i>{l s='Follow my order'}</a> </p> {else} <p>{l s='Bonjour Client, je suis un nouveau paragraphe'}</p> <p class="cart_navigation exclusive"> <a class="button-exclusive btn btn-default" href="{$link->getPageLink('history', true)|escape:'html':'UTF-8'}" title="{l s='Back to orders'}"> <i class="icon-chevron-left"></i>{l s='Back to orders'}</a> </p> {/if} <!-- Google Code for Achat Conversion Page --> <div style="display:inline;"> <img height="1" width="1" style="border-style:none;" alt="" src="//www.googleadservices.com/pagead/conversion/983018840/?value=1.00¤cy_code=EUR&label=vWmDCJG981YQ2Nre1AM&guid=ON&script=0"/> </div> Edited November 24, 2014 by Yopixel (see edit history) 1 Link to comment Share on other sites More sharing options...
lydia881 Posted November 24, 2014 Author Share Posted November 24, 2014 J'ai bien intégré les 2 balise <p>, cela ne fonctionne pas, aucun message ne s'affiche en Front? Link to comment Share on other sites More sharing options...
YopixelAE Posted November 24, 2014 Share Posted November 24, 2014 Probablement un souci de cache à vider (BO>Performances). Mettez un order-confirmation.tpl vide, et actualisez la page. Si celle-ci s'affiche correctement, c'est que le cache persiste. Vérifiez aussi que vous êtes sur la bonne page ! Link to comment Share on other sites More sharing options...
lydia881 Posted November 24, 2014 Author Share Posted November 24, 2014 Je suis bien sur la bonne page order-confirmation.tpl Lors de l'ajout des balises <p> la page de confirmation ne s'affichait plus en front et on a bien vidé le cache mais cela persiste apparemment, car je voulais changer le titre et ça s'est pas actualisé en front, que faire?? 1 Link to comment Share on other sites More sharing options...
YopixelAE Posted November 24, 2014 Share Posted November 24, 2014 (edited) La manip automatique est ici : http://doc.prestashop.com/pages/viewpage.action?pageId=20840893 Autrement la manip manuelle : http://www.templatemonster.com/help/prestashop-1-6-x-how-to-clear-smarty-cache.html Edited November 24, 2014 by Yopixel (see edit history) Link to comment Share on other sites More sharing options...
terroirsmarket.com Posted December 16, 2014 Share Posted December 16, 2014 bonjour Même problème, j'aimerai ajouter la procédure de paiement par CB sur le module paypal car les clients ne savent pas qu'il speuvent utiliser leur cb via le module pay pal 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