hakan1980 Posted August 4, 2015 Share Posted August 4, 2015 merhaba benim sorunum secilen kargoya göre ödeme modüllerinin görünmesi mesela kargo1 sadece kapida ödeme modulunun görünmesi kargo2 paypal kredi karti modüllerinin görünmesi bunu ypma imkanimiz varmi veya buna uygun modul Link to comment Share on other sites More sharing options...
bera_ramazan Posted August 9, 2015 Share Posted August 9, 2015 tema dosyası içinde ödeme modülünüzün tpl dosyasını açın ve {if $smarty.post.delivery_option[5]|rtrim:',' == 3} /// buraya sizin ödeme modülünün kodunu yazın {/if} burada yer alan 3 sizin kargonuzun id numarası misalen aras kargo id si 5 yurtiçi kargo ise 4 dür banka havalesinin en başına bu kodu yerlerştirin bu banka havalesi yurtiçi kargo ile olacak ise ona == 4 vereceksiniz bilmem anlatabildim mi? Link to comment Share on other sites More sharing options...
hakan1980 Posted August 11, 2015 Author Share Posted August 11, 2015 yardimin icin tesekkürler deneyecegim Link to comment Share on other sites More sharing options...
hakan1980 Posted August 11, 2015 Author Share Posted August 11, 2015 /themes/default-bootstrap/modules/cheque/views/templates/hook/payment.tpl dosyasinda en basa ekledim fakat faydasi olmadi payment.tpl dosyasindaki kodlari buraya kopyaladim acaba benmi hata yapiyorum {* * 2007-2015 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-2015 PrestaShop SA * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} {if $smarty.post.delivery_option[5]|rtrim:',' == 1} /// {/if} <div class="row"> <div class="col-xs-12"> <p class="payment_module"> <a class="cheque" href="{$link->getModuleLink('cheque', 'payment', [], true)|escape:'html':'UTF-8'}" title="{l s='Pay by check.' mod='cheque'}"> {l s='Pay by check' mod='cheque'} <span>{l s='(order processing will be longer)' mod='cheque'}</span> </a> </p> </div> </div> Link to comment Share on other sites More sharing options...
bera_ramazan Posted August 12, 2015 Share Posted August 12, 2015 kod şu {if $smarty.post.delivery_option[5]|rtrim:',' == 1} <div class="row"> <div class="col-xs-12"> <p class="payment_module"> <a class="cheque" href="{$link->getModuleLink('cheque', 'payment', [], true)|escape:'html':'UTF-8'}" title="{l s='Pay by check.' mod='cheque'}"> {l s='Pay by check' mod='cheque'} <span>{l s='(order processing will be longer)' mod='cheque'}</span> </a> </p> </div> </div> {/if} 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