Jump to content

Comment insérer du texte dans la page order-confirmation.tpl


Recommended Posts

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:
* 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&currency_code=EUR&label=vWmDCJG981YQ2Nre1AM&guid=ON&script=0"/>
</div>
Link to comment
Share on other sites


{*

* 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&currency_code=EUR&label=vWmDCJG981YQ2Nre1AM&guid=ON&script=0"/>

</div>

 

Edited by Yopixel (see edit history)
  • Like 1
Link to comment
Share on other sites

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??

  • Like 1
Link to comment
Share on other sites

  • 4 weeks later...

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...