Skip to main content

Utilisation substitution dans messages paiment

More
14 years 5 months ago #47306 by erix
Salut,

Serait-il possible d'utiliser des substitution dans les messages de paiement, comme par exemple celui du paiement par chèque (voir PJ). Cela permettrait d'utiliser des traductions suivant le type d'acheteur.
Merci d'avance pour les réponses

Adishatz, erix
www.agerix.fr

Please Log in or Create an account to join the conversation.

More
14 years 5 months ago #47405 by nicolas
Vous pouvez aller dans falang/joomfish et éditer les informations de votre plugin pour chaque langue.
Il sera néanmoins nécessaire d'ajouter la ligne suivante dans le fichier contentelements de hikashop_payment dans falang/joomfish:

<field type="htmltext" name="payment_params" length="255" maxlength="255" translate="1">Payment method params</field>

Please Log in or Create an account to join the conversation.

More
14 years 5 months ago #47819 by erickb
dans toutes les zones pour afficher le texte de paiement j'ai mis une constante de texte du genre BANK_TRANSFERT_MESSAGE
que je recupere avec echo JText::_('BANK_TRANSFERT_MESSAGE'); dans ./plugins/hikashoppayment/banktransfer/banktransfer_end.php

le code complet
Code:
<div class="hk_payment_end"> <h2><?php echo JText::_('BANK_TRANSFERT_TITLE'); ?></h2> <h3><?php echo JText::sprintf('ORDER_NUMBER',$order_number); ?></h3> <p class="hk_payment_end_info"><?php echo JText::sprintf('ORDER_IS_COMPLETE',$amount); ?></p> <p class="hk_payment_end_message"><?php echo JText::_('BANK_TRANSFERT_MESSAGE'); ?></p> <p class="hk_payment_end_message"><?php echo JText::_($information); ?></p> <p class="hk_payment_end_thank"><?php echo JText::_('THANK_YOU_FOR_PURCHASE'); ?></p> </div>

Please Log in or Create an account to join the conversation.

More
14 years 5 months ago #47829 by erix
Merci je teste ça et je vous fait un retour

Adishatz, erix
www.agerix.fr

Please Log in or Create an account to join the conversation.

More
14 years 5 months ago #47830 by erickb
un complement d'info

<p class="hk_payment_end_message"><?php echo JText::_($information); ?></p>

$information = BANK_TRANSFERT_INFO

correspond a

Please Log in or Create an account to join the conversation.

More
14 years 5 months ago #47831 by erickb
un complement d'info

<p class="hk_payment_end_message"><?php echo JText::_($information); ?></p>

$information = BANK_TRANSFERT_INFO

correspond a

Please Log in or Create an account to join the conversation.

Time to create page: 0.210 seconds
Powered by Kunena Forum