[-] MO : fixed bug #PSCFV-7703 - Images for bank wire, cheque and cash payment missing on Order Summary

This commit is contained in:
vAugagneur committed 2013-04-26 10:30:17 +02:00
1 parent a0867d3a92
commit 9983b1723f
12 files changed
+14 -8

No files matched your search

+2 -1
View File
@@ -75,7 +75,8 @@ class CashOnDelivery extends PaymentModule
}
$smarty->assign(array(
'this_path' => $this->_path,
'this_path' => $this->_path, //keep for retro compat
'this_path_cod' => $this->_path,
'this_path_ssl' => Tools::getShopDomainSsl(true, true).__PS_BASE_URI__.'modules/'.$this->name.'/'
));
return $this->display(__FILE__, 'payment.tpl');
@@ -70,7 +70,8 @@ class CashondeliveryValidationModuleFrontController extends ModuleFrontControlle
$this->context->smarty->assign(array(
'total' => $this->context->cart->getOrderTotal(true, Cart::BOTH),
'this_path' => $this->module->getPathUri(),
'this_path' => $this->module->getPathUri(),//keep for retro compat
'this_path_cod' => $this->module->getPathUri(),
'this_path_ssl' => Tools::getShopDomainSsl(true, true).__PS_BASE_URI__.'modules/'.$this->module->name.'/'
));
@@ -36,7 +36,7 @@
<form action="{$link->getModuleLink('cashondelivery', 'validation', [], true)}" method="post">
<input type="hidden" name="confirm" value="1" />
<p>
<img src="{$this_path}cashondelivery.jpg" alt="{l s='Cash on delivery (COD) payment' mod='cashondelivery'}" style="float:left; margin: 0px 10px 5px 0px;" />
<img src="{$this_path_cod}cashondelivery.jpg" alt="{l s='Cash on delivery (COD) payment' mod='cashondelivery'}" style="float:left; margin: 0px 10px 5px 0px;" />
{l s='You have chosen the cash on delivery method.' mod='cashondelivery'}
<br/><br />
{l s='The total amount of your order is' mod='cashondelivery'}
@@ -25,7 +25,7 @@
<p class="payment_module">
<a href="{$link->getModuleLink('cashondelivery', 'validation', [], true)}" title="{l s='Pay with cash on delivery (COD)' mod='cashondelivery'}" rel="nofollow">
<img src="{$this_path}cashondelivery.gif" alt="{l s='Pay with cash on delivery (COD)' mod='cashondelivery'}" style="float:left;" />
<img src="{$this_path_cod}cashondelivery.gif" alt="{l s='Pay with cash on delivery (COD)' mod='cashondelivery'}" style="float:left;" />
<br />{l s='Pay with cash on delivery (COD)' mod='cashondelivery'}
<br />{l s='You pay for the merchandise upon delivery' mod='cashondelivery'}
<br style="clear:both;" />