bailaor Posted December 13, 2011 Share Posted December 13, 2011 bonjour, j'aimerais installer le logo wexpay et qu'en cliquant dessus on arrive sur le site de wexplay mais seulement sur ma page en français car ce module fonctionne uniquement pour la france, j'avais pensé le mettre en publicité mais on le voit aussi sur ma page en espagnol. merci Link to comment Share on other sites More sharing options...
Thierryh Posted December 13, 2011 Share Posted December 13, 2011 Suggestion : Dans le TPL wexpay, encadrer l'affichage du logo par {if $lang_iso == "fr"} {/if} Je n'ai pas personnellement testé la chose. Mais cela devrait marcher car dans header.tpl, {$lang_iso} existe bien et devrait donc certainement être visible aussi dans votre propre TPL. Link to comment Share on other sites More sharing options...
bailaor Posted December 14, 2011 Author Share Posted December 14, 2011 bonjour, le problème c'est que le logo n'y est pas, je dois l'insérer moi même, et dans le module wexpay le seul fichier tpl c'est payment.tpl: It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-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-2010 Prestashop SA * @version Release: $Revision: 1.4 $ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) * International Registred Trademark & Property of PrestaShop SA *} <p class="payment_module"> <a href="javascript:document.wexpay_form.submit();" title="{l s='Pay with weXpay' mod='wexpay'}" style="height:48px"> <img src="{$module_dir}wexpay.png" alt="{l s='Wexpay logo' mod='wexpay'}" />{l s='Pay with weXpay' mod='wexpay'} <div style="clear:both;height:0;line-height:0"> </div> </a> <div style="clear:both;height:0;line-height:0"> </div> </p> <form name="wexpay_form" action="https://paiements.wexpay.fr" method="post"> <input type="hidden" name="merchant_id" value="{$merchant_id}" /> <input type="hidden" name="ref_order" value="{$ref_order}" /> <input type="hidden" name="amount" value="{$amount}" /> <input type="hidden" name="urlNotification" value="{$urlNotification}" /> <input type="hidden" name="urlError" value="{$urlError}" /> <input type="hidden" name="urlReturn" value="{$urlReturn}" /> </form> 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