﻿<?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; zoom</title>
	<atom:link href="http://onestic.com/tag/zoom/feed/" rel="self" type="application/rss+xml" />
	<link>http://onestic.com</link>
	<description>Estrategia y desarrollo ecommerce</description>
	<lastBuildDate>Mon, 21 May 2012 08:21:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Habilitar zoom con imágenes adicionales en Magento</title>
		<link>http://onestic.com/habilitar-zoom-con-imagenes-adicionales-en-magento/</link>
		<comments>http://onestic.com/habilitar-zoom-con-imagenes-adicionales-en-magento/#comments</comments>
		<pubDate>Thu, 29 Oct 2009 11:37:58 +0000</pubDate>
		<dc:creator>Sergio Baixauli</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[imágenes]]></category>
		<category><![CDATA[magento]]></category>
		<category><![CDATA[zoom]]></category>

		<guid isPermaLink="false">http://onestic.com/?p=536</guid>
		<description><![CDATA[Muchos de vosotros os habréis dado cuenta de un problema que surge en la vista de detalle de un producto en Magento. En concreto se produce cuando un producto tiene varias imágenes y queremos usar el efecto zoom para cada una de ellas. La modificación es bastante rápida e indolora. Con este cambio aprovecharemos para [...]]]></description>
			<content:encoded><![CDATA[<p>Muchos de vosotros os habréis dado cuenta de un problema que surge en la <strong>vista de detalle de un producto</strong> en Magento.</p>
<p>En concreto se produce cuando un <strong>producto tiene varias imágenes</strong> y queremos usar el efecto zoom para cada una de ellas. La modificación es bastante rápida e indolora. Con este cambio aprovecharemos para quitarle el popup y dejarlo únicamente con el zoom.</p>
<p>Fichero a modificar <strong>template/catalog/product/view/media.phtml</strong>:</p>
<p>Cambiamos esto</p>
<pre class="brush: php; title: ; notranslate">
&lt;div&gt;&lt;code&gt; &lt;span style=&quot;color: #007700;&quot;&gt;&lt;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;a href&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #dd0000;&quot;&gt;&quot;#&quot; &lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;onclick&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #dd0000;&quot;&gt;&quot;popWin('&lt;?php echo $this-&gt;helper('catalog/image')-&gt;init($_product, 'image') ?&gt;', 'gallery', 'width=520,height=520,left=50,top=50,location=no,status=yes,scrollbars=yes,resizable=yes'); return false;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;&gt;&lt;/span&gt; &lt;/code&gt;&lt;/div&gt;
</pre>
<p>por esto otro&#8230;</p>
<pre class="brush: php; title: ; notranslate">
&lt;a href=&quot;&lt;?php echo $this-&gt;helper('catalog/image')-&gt;init($this-&gt;getProduct(), 'image', $_image-&gt;getFile()); ?&gt;&quot; title=&quot;&lt;?php echo $_product-&gt;getName();?&gt;&quot; onclick=&quot;$('image').src = this.href; return false;&quot;&gt;
</pre>
<p>y ya lo tenemos.</p>
]]></content:encoded>
			<wfw:commentRss>http://onestic.com/habilitar-zoom-con-imagenes-adicionales-en-magento/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

