<?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>mis apuntes oscommerce &#187; OsCommerce</title>
	<atom:link href="http://www.keleke.com/tag/oscommerce/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.keleke.com</link>
	<description>contribuciones, posicionamiento, google... oscommerce</description>
	<lastBuildDate>Sun, 05 Feb 2012 10:56:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Añadir teléfono a los mails de pedidos</title>
		<link>http://www.keleke.com/2007/anadir-telefono-a-los-mails-de-pedidos/</link>
		<comments>http://www.keleke.com/2007/anadir-telefono-a-los-mails-de-pedidos/#comments</comments>
		<pubDate>Wed, 13 Jun 2007 11:02:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Contribuciones]]></category>
		<category><![CDATA[contribución]]></category>
		<category><![CDATA[OsCommerce]]></category>
		<category><![CDATA[telefono]]></category>

		<guid isPermaLink="false">http://keleke.com/?p=32</guid>
		<description><![CDATA[Con este pequeño código podemos añadir el teléfono en los mails que llegan de Procesar Pedido&#8230; Primero editamos el archivo de nuestro lenguaje, EspaÑol en nuestro caso&#8230; ../includes/languages/espanol/checkout_process.php Y añadimos, antes del último ?&#62; define('EMAIL_TEXT_CUSTOMER_NAME', 'Pedido de:'); define('EMAIL_TEXT_CUSTOMER_EMAIL_ADDRESS', 'e-mail:'); define('EMAIL_TEXT_CUSTOMER_TELEPHONE', 'Tlf:'); Ahora abrimos el archivo checkout_process.php del raíz. Y buscamos lo siguiente sobre la línea [...]]]></description>
			<content:encoded><![CDATA[<p>Con este pequeño código podemos añadir el teléfono en los mails que llegan de Procesar Pedido&#8230;</p>
<p>Primero editamos el archivo de nuestro lenguaje, EspaÑol en nuestro caso&#8230;</p>
<p><strong><code>../includes/languages/espanol/checkout_process.php</code></strong></p>
<p>Y añadimos, antes del último ?&gt;<br />
<code><br />
define('EMAIL_TEXT_CUSTOMER_NAME', 'Pedido de:');<br />
define('EMAIL_TEXT_CUSTOMER_EMAIL_ADDRESS', 'e-mail:');<br />
define('EMAIL_TEXT_CUSTOMER_TELEPHONE', 'Tlf:');</code></p>
<p>Ahora abrimos el  archivo <strong>checkout_process.php </strong> del raíz.  Y buscamos lo siguiente sobre la línea 226..</p>
<p><code>// lets start with the email confirmation<br />
$email_order = STORE_NAME . "\n" .<br />
EMAIL_SEPARATOR . "\n" .<br />
EMAIL_TEXT_ORDER_NUMBER . ' ' . $insert_id . "\n" .<br />
EMAIL_TEXT_INVOICE_URL . ' ' . tep_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $insert_id, 'SSL', false) . "\n" .<br />
EMAIL_TEXT_DATE_ORDERED . ' ' . strftime(DATE_FORMAT_LONG) . "\n\n" ;<br />
--------------------</code></p>
<p>Y reemplazamos por:</p>
<p><code>// lets start with the email confirmation<br />
$email_order = STORE_NAME . "\n" .<br />
EMAIL_SEPARATOR . "\n" .<br />
EMAIL_TEXT_ORDER_NUMBER . ' ' . $insert_id . "\n" .<br />
EMAIL_TEXT_INVOICE_URL . ' ' . tep_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $insert_id, 'SSL', false) . "\n" .<br />
EMAIL_TEXT_DATE_ORDERED . ' ' . strftime(DATE_FORMAT_LONG) . "\n" .<br />
EMAIL_TEXT_CUSTOMER_NAME . ' ' . $order-&gt;customer['firstname'] . ' ' . $order-&gt;customer['lastname'] . "\n" .<br />
EMAIL_TEXT_CUSTOMER_EMAIL_ADDRESS . ' ' . $order-&gt;customer['email_address'] . "\n" .<br />
EMAIL_TEXT_CUSTOMER_TELEPHONE . ' ' . $order-&gt;customer['telephone'] . "\n\n" ;</code></p>
<p>Así, cuando entre el mail de pedido, vendrá con el mail del cliente y el teléfono, muy práctico a la hora de gestionar los pedidos.</p>
<img src="http://www.keleke.com/?ak_action=api_record_view&id=31&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.keleke.com/2007/anadir-telefono-a-los-mails-de-pedidos/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

