Jump to content

[RESOLU]Modifier "Résumé de la commande" une fois qu'on a cliqué sur paypal


Recommended Posts

Bonjour,

Quand on choisit de payer par paypal ( en cliquant dessus lors de la commande), on arrive sur une page récapitulatif de la commande :

Vous avez choisi de payer avec PayPal.

Voici un court résumé de votre commande :

- Le montant total de votre commande s'élève à 61,70 €

- Nous acceptons la devise suivante pour votre paiement : Euro

Merci de confirmer votre commande en cliquant sur "Je confirme ma commande". 



J'aimerai décaler en faite ce texte vers la droite, comme je l'ai fait pour un autre module. Pour cela, j'"encadre" le texte que je veux déplacer par une div.

Je suis allé dans modules/paypal ==> confirm.tpl :

...
h2>{l s='Order summary' mod='paypal'}

{assign var='current_step' value='payment'}
{include file="$tpl_dir./order-steps.tpl"}


{l s='PayPal payment' mod='paypal'}
<form action="{$this_path_ssl}{$mode}submit.php" method="post">
   {if isset($ppToken)}<input type="hidden" name="token" value="{$ppToken|escape:'htmlall'|stripslashes}" />{/if}
   {if isset($payerID)}<input type="hidden" name="payerID" value="{$payerID|escape:'htmlall'|stripslashes}" />{/if}




{l s='You have chosen to pay with PayPal.' mod='paypal'}



       {l s='Here is a short summary of your order:' mod='paypal'}



       - {l s='The total amount of your order is' mod='paypal'}
{convertPriceWithCurrency price=$total currency=$currency}{if $use_taxes == 1}{l s='(tax incl.)' mod='paypal'}{/if}



       - {l s='We accept the following currency to be sent by PayPal:' mod='paypal'} {$currency->name}
           <input type="hidden" name="currency_payement" value="{$currency->id}" />



{l s='Please confirm your order by clicking \'I confirm my order\'' mod='paypal'}.



getPageLink('order.php', true)}?step=3" class="button_large">{l s='Other payment methods' mod='paypal'}
       <input type="submit" name="submitPayment" value="{l s='I confirm my order' mod='paypal'}" class="exclusive_large" />

</form>



Je pensais que c'est le bon fichier mais rien ne se passe quand je rajoute ma div...

Ce fichier se trouve dans le dossier modules directement visible quand on ouvre le dossier de son site, il ne se trouve pas dans le dossier thème/montheme.


Mille merci pour votre aide!

Bonne journée

Edit: Désolé, il fallait juste vider le cache...

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