<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>onestic &#187; módulo de pago</title>
	<atom:link href="http://onestic.com/tag/modulo-de-pago/feed/" rel="self" type="application/rss+xml" />
	<link>http://onestic.com</link>
	<description>blog de onestic</description>
	<lastBuildDate>Mon, 06 Sep 2010 14:21:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Cambiar textos en módulo de pago en Magento. Transferencia bancaria</title>
		<link>http://onestic.com/cambiar-textos-en-modulo-de-pago-en-magento-transferencia-bancaria/</link>
		<comments>http://onestic.com/cambiar-textos-en-modulo-de-pago-en-magento-transferencia-bancaria/#comments</comments>
		<pubDate>Thu, 31 Dec 2009 08:00:30 +0000</pubDate>
		<dc:creator>Sergio Baixauli</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[magento]]></category>
		<category><![CDATA[módulo de pago]]></category>

		<guid isPermaLink="false">http://onestic.com/?p=592</guid>
		<description><![CDATA[El cambio de hoy es muy simple pero muy útil.
Los que usamos el módulo de pago por Transferencia bancaria (en magento llamado Cheque / Giro de dinero), vemos que a la hora de realizar los pagos, en la parte del pago nos da una información que puede llegar a despitar al usuario. Me refiero a [...]]]></description>
			<content:encoded><![CDATA[El cambio de hoy es muy simple pero muy útil.
Los que usamos el módulo de pago por <strong>Transferencia bancaria</strong> (en magento llamado Cheque / Giro de dinero), vemos que a la hora de realizar los pagos, en la parte del pago nos da una información que puede llegar a despitar al usuario. Me refiero a la parte en la que dice "Enviar Cheque".
Para que quede claro lo pongo en una captura:
<br/>
<a href="http://onestic.com/wp-content/uploads/2009/12/transferencia-banco-2.jpg"><img class="alignnone size-full wp-image-593" title="transferencia-banco-2" src="http://onestic.com/wp-content/uploads/2009/12/transferencia-banco-2.jpg" alt="transferencia-banco-2" width="477" height="701" /></a>

Una completamos la información lo que queremos evitar es que cuando realizamos el pago, nos salga algo como esto:

<a href="http://onestic.com/wp-content/uploads/2009/12/transferencia-banco-1.jpg"><img class="alignnone size-full wp-image-594" title="transferencia-banco-1" src="http://onestic.com/wp-content/uploads/2009/12/transferencia-banco-1.jpg" alt="transferencia-banco-1" width="358" height="216" /></a>

Si os fijáis, esto de que ponga "Enviar cheque" y "Hacer cheque a nombre de" lía bastante al usuario.

La solución de esto es muy sencilla. Tenemos que editar dos ficheros
<ul>
	<li>app/design/frontend/default/blank/template/payment/info</li>
	<li>app/design/frontend/default/blank/template/payment/form</li>
</ul>
El fichero que tenemos que tocar en ambos casos es el checkmo.phtml

Comentamos esta línea:

<div class="igBar"><span id="lphp-2"><a href="#" onclick="javascript:showPlainTxt('php-2'); return false;">PLAIN TEXT</a></span></div><div class="syntax_hilite"><span class="langName">PHP:</span><br /><div id="php-2">
<div class="php"><ol><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&amp;lt;?php <span style="color:#008000;">/*</span></div></li>
<li style="font-weight: bold;color:#26536A;"></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&amp;lt;?php if ($this-&amp;gt;getMethod()-&amp;gt;getPayableTo()): ?&amp;gt;</span></div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;"> &amp;lt;?php echo $this-&amp;gt;__('&amp;lt;label&amp;gt;Make Check payable to&amp;lt;/label&amp;gt;: %s', $this-&amp;gt;getMethod()-&amp;gt;getPayableTo()) ?&amp;gt;&amp;lt;br /&amp;gt;</span></div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;"> &amp;lt;?php endif; ?&amp;gt;</span></div></li>
<li style="font-weight: bold;color:#26536A;"></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">*/</span> ?&amp;gt; </div></li></ol></div>
</div></div><br />

y reemplazamos la cadena "Send check to" por "Send Transfer to" o lo que nosotros queramos.

Borramos la caché y arreglado.

<a href="http://onestic.com/wp-content/uploads/2009/12/transferencia-banco-3.jpg"><img class="alignnone size-full wp-image-595" title="transferencia-banco-3" src="http://onestic.com/wp-content/uploads/2009/12/transferencia-banco-3.jpg" alt="transferencia-banco-3" width="575" height="189" /></a>]]></content:encoded>
			<wfw:commentRss>http://onestic.com/cambiar-textos-en-modulo-de-pago-en-magento-transferencia-bancaria/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>