<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-178675262188971764</id><updated>2024-09-28T15:00:17.101-07:00</updated><category term="getCollection"/><category term="is_salable"/><category term="magento"/><category term="product collection"/><title type='text'>Magento Tips</title><subtitle type='html'>Trucos y guías prácticas para el mejor e-commerce en la actualidad.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://magento-newshore.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/178675262188971764/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://magento-newshore.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Alexander Duque</name><uri>http://www.blogger.com/profile/16450216034581598827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>7</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-178675262188971764.post-7002785763584479041</id><published>2013-08-09T06:00:00.001-07:00</published><updated>2013-08-09T06:00:55.840-07:00</updated><title type='text'>Obtener Query SQL de una colección</title><content type='html'>Cuando se desea conocer cuál es la consulta en SQL que se generó para obtener una colección en Magento se puede utilizar el método &lt;b&gt;getSelect()&lt;/b&gt;.&lt;br /&gt;
Así, por ejemplo, una vez obtenida la colección por medio del método &lt;i&gt;getCollection&lt;/i&gt; se puede obtener despúes el valor de la colección así:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: php&quot;&gt;
$products = Mage::getModel(&#39;catalog/product&#39;)
        -&gt;getCollection();
echo $products-&gt;getSelect();

&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://magento-newshore.blogspot.com/feeds/7002785763584479041/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://magento-newshore.blogspot.com/2013/08/obtener-query-sql-de-una-coleccion.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/178675262188971764/posts/default/7002785763584479041'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/178675262188971764/posts/default/7002785763584479041'/><link rel='alternate' type='text/html' href='http://magento-newshore.blogspot.com/2013/08/obtener-query-sql-de-una-coleccion.html' title='Obtener Query SQL de una colección'/><author><name>Sergio Quintero Gómez</name><uri>http://www.blogger.com/profile/18173502897630554633</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-178675262188971764.post-98504316327845785</id><published>2012-05-10T07:42:00.000-07:00</published><updated>2012-05-10T07:43:38.656-07:00</updated><title type='text'>Modificar el ordenamiento por defecto de productos en el catálogo</title><content type='html'>&lt;p&gt;Si se desea modificar el ordenamiento por defecto mostrado en la vista de catálogo para los productos que corresponden a una categoría, se debe buscar en el archivo &lt;b&gt;catalog.xml&lt;/b&gt; (Ubicado, sin extender, en la carpeta &lt;i&gt;app/design/frontend/base/default/layout/catalog.xml&lt;/i&gt;) la siguiente línea de código: &lt;/p&gt;

&lt;pre class=&quot;brush: xml&quot;&gt;&lt;block type=&quot;catalog/product_list_toolbar&quot; name=&quot;product_list_toolbar&quot; template=&quot;catalog/product/list/toolbar.phtml&quot;&gt;&lt;/pre&gt;

Dentro de la declaración de este bloque se ingresaría la siguiente línea:

&lt;pre class=&quot;brush: xml&quot;&gt;&lt;action method=&quot;setDefaultDirection&quot;&gt;&lt;dir&gt;desc&lt;/dir&gt;&lt;/action&gt;&lt;/pre&gt;

Con esto, una vez cargada una categoría, se mostrará en orden descendente de acuerdo a los parámetros definidos en la  configuración suministrada por el panel de administración.</content><link rel='replies' type='application/atom+xml' href='http://magento-newshore.blogspot.com/feeds/98504316327845785/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://magento-newshore.blogspot.com/2012/05/modificar-el-ordenamiento-de-productos.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/178675262188971764/posts/default/98504316327845785'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/178675262188971764/posts/default/98504316327845785'/><link rel='alternate' type='text/html' href='http://magento-newshore.blogspot.com/2012/05/modificar-el-ordenamiento-de-productos.html' title='Modificar el ordenamiento por defecto de productos en el catálogo'/><author><name>Sergio Quintero Gómez</name><uri>http://www.blogger.com/profile/18173502897630554633</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-178675262188971764.post-3626596973914106147</id><published>2012-05-08T05:13:00.001-07:00</published><updated>2013-05-17T10:32:28.537-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="getCollection"/><category scheme="http://www.blogger.com/atom/ns#" term="is_salable"/><category scheme="http://www.blogger.com/atom/ns#" term="magento"/><category scheme="http://www.blogger.com/atom/ns#" term="product collection"/><title type='text'>Como conseguir una colección de productos is_salable igual a uno</title><content type='html'>Recientemente en un proyecto de Magento me&amp;nbsp;encontré con la necesidad de construir una colección de productos en la cual todos tuvieran la propiedad is_salable igual a 1.&lt;br /&gt;
&lt;br /&gt;
Para poder obtener esta colección de productos es necesario que al crearla se utilice&amp;nbsp;Mage::getModel(&#39;catalog/product&#39;&#39;) y posteriormente usar la linea&amp;nbsp;mágica&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush:php&quot;&gt; 
Mage::getSingleton(&#39;cataloginventory/stock&#39;)-&amp;gt;addInStockFilterToCollection($_productCollection);  
&lt;/pre&gt;
&lt;br /&gt;
&lt;h3&gt;
&lt;b&gt;Ejemplo de uso&lt;/b&gt;&lt;/h3&gt;
Es necesario retornar una colección de productos configurables cuya propiedad &lt;b&gt;&lt;i&gt;is_salable &lt;/i&gt;&lt;/b&gt;sea igual a uno.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush:php&quot;&gt; 
$_productCollection = Mage::getModel(&#39;catalog/product&#39;)-&amp;gt;getCollection();
$_productCollection-&amp;gt;addAttributeToSelect(&#39;*&#39;);
$_productCollection-&amp;gt;addAttributeToFilter(&#39;type_id&#39;, Mage_Catalog_Model_Product_Type::TYPE_CONFIGURABLE);
Mage::getSingleton(&#39;cataloginventory/stock&#39;)-&amp;gt;addInStockFilterToCollection($_productCollection);
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://magento-newshore.blogspot.com/feeds/3626596973914106147/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://magento-newshore.blogspot.com/2012/05/como-conseguir-una-coleccion-de.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/178675262188971764/posts/default/3626596973914106147'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/178675262188971764/posts/default/3626596973914106147'/><link rel='alternate' type='text/html' href='http://magento-newshore.blogspot.com/2012/05/como-conseguir-una-coleccion-de.html' title='Como conseguir una colección de productos is_salable igual a uno'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08826025315716545249</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total><georss:featurename>Manizales, Caldas, Colombia</georss:featurename><georss:point>5.06798 -75.51738</georss:point><georss:box>4.9414475000000007 -75.6753085 5.1945125 -75.3594515</georss:box></entry><entry><id>tag:blogger.com,1999:blog-178675262188971764.post-7618308499725818595</id><published>2012-03-15T07:11:00.000-07:00</published><updated>2012-03-14T09:19:16.023-07:00</updated><title type='text'>Usar las variables personalizadas para crear elementos html comunes y usarlos en bloques estáticos, páginas y emails transaccionales</title><content type='html'>&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Una buena forma para no repetir en cada bloque,
página o email contenido html que es común es utilizar las variables
personalizadas que provee magento en el backoffice. Supongamos que para todos
los emails se tiene un footer común, lo que se debe hacer para no tener que copiar
contenido en cada una de las plantillas es crear una variable personalizada y
en ella agregar el contenido html que dibuja estos de la siguiente manera:&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;Se ingresa &amp;nbsp;al backoffice.&lt;/li&gt;
&lt;li&gt;Se va a sistema/variables personalizadas&lt;/li&gt;
&lt;li&gt;Se le da agregar nueva variable&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -18.0pt;&quot;&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -18.0pt;&quot;&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -18.0pt;&quot;&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrjpFe5jnjphnRdw_rJ2dRoLpjoTqC4JHQ7OcF4zYLhTFVaJ4y6sMUuMXqEUsweBQIFmxM0mu5j-n_xlbJ48mtErepraVuS7tfTWxWS5paVoOSDDIsTBFt07h27pPIjlZYa7JtOLNNguo/s1600/customvar.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;317&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrjpFe5jnjphnRdw_rJ2dRoLpjoTqC4JHQ7OcF4zYLhTFVaJ4y6sMUuMXqEUsweBQIFmxM0mu5j-n_xlbJ48mtErepraVuS7tfTWxWS5paVoOSDDIsTBFt07h27pPIjlZYa7JtOLNNguo/s640/customvar.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;En el código de variable se pone el identificador con el cual se va a llamar desde el plantilla de email, &amp;nbsp; bloque o página.&lt;/li&gt;
&lt;li&gt;En el campo “Nombre Variable” se pone un nombre para facilitar su búsqueda&lt;/li&gt;
&lt;li&gt;Dentro del campo “Valor de HTML Variable” &amp;nbsp;se ingresa el contenido html de la variable.&lt;/li&gt;
&lt;li&gt;El campo “Valor Simple Variable” es muy útil cuando se tiene un dato simple que puede cambiar mas adelante y se presenta en varios lugares (paginas, bloques o emails)&lt;/li&gt;
&lt;li&gt;Se guarda y ya esta lista para llamar desde donde la necesitemos en el cms.&lt;/li&gt;
&lt;li&gt;Para agregar esta variable, se ingresa al bloque, pagina o plantilla de email y en el lugar donde debe ir este html se llama de la siguiente forma: 
&lt;pre class=&quot;brush: xml&quot;&gt;{{customvar code=&quot;codigo_variable”}}&lt;/pre&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -18.0pt;&quot;&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -18.0pt;&quot;&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -18.0pt;&quot;&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -18.0pt;&quot;&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -18.0pt;&quot;&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 35.4pt; text-indent: -35.4pt;&quot;&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://magento-newshore.blogspot.com/feeds/7618308499725818595/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://magento-newshore.blogspot.com/2012/03/usar-las-variables-personalizadas-para.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/178675262188971764/posts/default/7618308499725818595'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/178675262188971764/posts/default/7618308499725818595'/><link rel='alternate' type='text/html' href='http://magento-newshore.blogspot.com/2012/03/usar-las-variables-personalizadas-para.html' title='Usar las variables personalizadas para crear elementos html comunes y usarlos en bloques estáticos, páginas y emails transaccionales'/><author><name>Alexander Duque</name><uri>http://www.blogger.com/profile/16450216034581598827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrjpFe5jnjphnRdw_rJ2dRoLpjoTqC4JHQ7OcF4zYLhTFVaJ4y6sMUuMXqEUsweBQIFmxM0mu5j-n_xlbJ48mtErepraVuS7tfTWxWS5paVoOSDDIsTBFt07h27pPIjlZYa7JtOLNNguo/s72-c/customvar.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-178675262188971764.post-7596405841134774867</id><published>2012-03-14T07:45:00.000-07:00</published><updated>2012-03-14T07:46:16.721-07:00</updated><title type='text'>¿Cómo pasar parámetros a un bloque desde su declaración en el layout?</title><content type='html'>&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Una buena práctica para optimizar la carga de las plantillas en Magento es pasar las variables que se necesitan en el bloque desde su declaración en el layout, asignando los valores de dichas variables con llamados a métodos disponibles en helpers.&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Ahora algo de código para ilustrar este procedimiento.&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Declaración del bloque en el layout.&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;pre class=&quot;brush: xml&quot;&gt;
&lt;block name=&quot;streetstyle&quot; template=&quot;streetstyle/streetstyle-temp.phtml&quot; type=&quot;core/template&quot;&gt;
     &lt;action method=&quot;setStreetstyleList&quot;&gt;
         &lt;array helper=&quot;streetstyle/data/getStreetstyleList&quot;&gt;
     &lt;/array&gt;&lt;/action&gt;
&lt;/block&gt;
&lt;/pre&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Con la etiqueta ‘action’ se esta declarando la variable ‘streetstyleList’ y se le esta asignando un ‘array’ cuyo valor es el resultado retornado por el método ‘getStreetstyleList()’ encontrado en el helper ‘data’ del módulo ‘streetstyle’.&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;Utilizar la variable en la plantilla.&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Una vez declarada la variable en el layout, se puede utilizar en la plantilla de forma transparente, accediendo a ella mediante ‘$this-&amp;gt;nombreVariable’. Ejemplo: En ‘streetstyle-temp.phtml’ se podría utilizar así:&lt;/div&gt;
&lt;/div&gt;
&lt;pre class=&quot;brush: php&quot;&gt;
&lt;ul&gt;
&amp;lt;?php foreach ($this-&gt;streetstyleList as $streetStyle):  ?&amp;gt;
    &lt;li&gt;&amp;lt;?php  echo $streetStyle[‘name’];  ?&amp;gt; &lt;/li&gt;
&amp;lt;?php endforeach; ?&amp;gt;
&lt;/ul&gt;
&lt;/pre&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;Método que retorna el valor de la variable desde el helper.&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;text-align: justify;&quot;&gt;&lt;/span&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;text-align: justify;&quot;&gt;Para este ejemplo se tiene una función que obtiene la colección de productos tipo ‘bundle’ de la cual solo se &amp;nbsp;necesitan el identificador y el nombre de los productos, por lo que se almacenan en un ‘array’ que corresponde con el tipo de dato que se declaró en el layout para la variable utilizada en el bloque.&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;text-align: justify;&quot;&gt;
&lt;/span&gt;
&lt;pre class=&quot;brush: php&quot;&gt;
public function getStreetstyleList(){
    $result=array();
    $model=Mage::getModel(&#39;catalog/product&#39;);
    $collectionBundleStreetstyle=$model-&amp;gt;getCollection()
             -&amp;gt;addAttributeToSelect(&#39;cb_name_streetstyle&#39;)
             -&amp;gt;addAttributeToFilter(&#39;type_id&#39;, array(&#39;eq&#39; =&amp;gt; &#39;bundle&#39;))
             -&amp;gt;addAttributeToFilter(&#39;cb_is_streetstyle&#39;, 1);

    foreach($collectionBundleStreetstyle as $streetstyle){
        $result[]=array(&#39;id&#39;=&amp;gt;$streetstyle-&amp;gt;getId(), 
                        &#39;name&#39;=&amp;gt;$streetstyle-&amp;gt;getCbNameStreetstyle());
    }
    return $result;
}
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://magento-newshore.blogspot.com/feeds/7596405841134774867/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://magento-newshore.blogspot.com/2012/03/como-pasar-parametros-un-bloque-desde.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/178675262188971764/posts/default/7596405841134774867'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/178675262188971764/posts/default/7596405841134774867'/><link rel='alternate' type='text/html' href='http://magento-newshore.blogspot.com/2012/03/como-pasar-parametros-un-bloque-desde.html' title='¿Cómo pasar parámetros a un bloque desde su declaración en el layout?'/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-178675262188971764.post-2639665629903993176</id><published>2012-03-13T07:47:00.000-07:00</published><updated>2012-03-13T07:50:34.547-07:00</updated><title type='text'>¿Cómo obtener cualquier valor de los parámetros de configuración?</title><content type='html'>Si deseamos obtener los valores de configuración de Magento&amp;nbsp;tales como: el idioma del sitio, el nombre de la tienda y parámetros más especificos&amp;nbsp;encontrados en la pestaña sistema - configuración, debemos hacer lo siguiente:&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: -webkit-auto;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;Entrar a nuestra base de datos y buscar la tabla&lt;b&gt;&amp;nbsp;core_config_data&lt;/b&gt;&lt;/li&gt;
&lt;li style=&quot;text-align: left;&quot;&gt;En esta tabla buscamos por el atributo &lt;b&gt;path &lt;/b&gt;la ruta del atributo que necesitamos, por ejemplo: si queremos conocer la descripción que tenemos en el encabezado del sitio (Ubicada en la pestaña diseño), buscamos por design/head/default_description.&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMY2RSO1ESHCNL4lzma64_-eY9gt_n_pXkxnf9bgT0NZwFAZuh49N1TeiAFIcTROGRYQZ6NIidt3HhsSOHo3gCnn_XqdKSx4kra_hWt9PCp79LHcXVlwE4mxVyDSwA6L-z_gyvSV_YrDk/s1600/1.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;122&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMY2RSO1ESHCNL4lzma64_-eY9gt_n_pXkxnf9bgT0NZwFAZuh49N1TeiAFIcTROGRYQZ6NIidt3HhsSOHo3gCnn_XqdKSx4kra_hWt9PCp79LHcXVlwE4mxVyDSwA6L-z_gyvSV_YrDk/s320/1.PNG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhZgKDQKBmMrcnStadRGpmw1g_8-eZheTSmbIKp7nKlP9dpV5tql6Ny2bp9Jchm9Y7VRe7uqIQdHzS2My9nMfXnafFf_yyPPpdzs6mad9l6livWLbdks-vcg4A3fcQE-gvQTpXn_tkNvU/s1600/2.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;7&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhZgKDQKBmMrcnStadRGpmw1g_8-eZheTSmbIKp7nKlP9dpV5tql6Ny2bp9Jchm9Y7VRe7uqIQdHzS2My9nMfXnafFf_yyPPpdzs6mad9l6livWLbdks-vcg4A3fcQE-gvQTpXn_tkNvU/s320/2.PNG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Una vez corroborado que si es el atributo que estamos buscando y el valor si corresponde a lo que tenemos en nuestro panel de administración procedemos a llamarlo en nuestras vistas&amp;nbsp;&lt;b&gt;PHTML o &lt;/b&gt;controladores, modelos y helpers&lt;b&gt;&amp;nbsp;&lt;/b&gt;a través de:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class=&quot;brush: php&quot;&gt;$storeDescription = Mage::getStoreConfig(&#39;design/head/default_description&#39;);&lt;/pre&gt;
&lt;div&gt;
&lt;br /&gt;
Importante: Podemos saber por cuál parámetro buscar en la tabla dando click derecho sobre la etiqueta label del objeto del formulario y ver el atributo &lt;b&gt;for&lt;/b&gt; del mismo&lt;/div&gt;
&lt;div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtIn5kAyrJ-t2yxFbghu5Ib5kEV5Y5Ey45PPHndG-jftgkakswHIaX2NN-6zz2uIrcccra5klf72EnVeS02hIgypaL_ZTjqOKsGWTkbR5UZ7Vlv3x1Gof7-k9QZJfPEJkxJLibPgoD7iA/s1600/3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;95&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtIn5kAyrJ-t2yxFbghu5Ib5kEV5Y5Ey45PPHndG-jftgkakswHIaX2NN-6zz2uIrcccra5klf72EnVeS02hIgypaL_ZTjqOKsGWTkbR5UZ7Vlv3x1Gof7-k9QZJfPEJkxJLibPgoD7iA/s320/3.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://magento-newshore.blogspot.com/feeds/2639665629903993176/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://magento-newshore.blogspot.com/2012/03/como-obtener-cualquier-valor-de-los.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/178675262188971764/posts/default/2639665629903993176'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/178675262188971764/posts/default/2639665629903993176'/><link rel='alternate' type='text/html' href='http://magento-newshore.blogspot.com/2012/03/como-obtener-cualquier-valor-de-los.html' title='¿Cómo obtener cualquier valor de los parámetros de configuración?'/><author><name>Sergio Quintero Gómez</name><uri>http://www.blogger.com/profile/18173502897630554633</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMY2RSO1ESHCNL4lzma64_-eY9gt_n_pXkxnf9bgT0NZwFAZuh49N1TeiAFIcTROGRYQZ6NIidt3HhsSOHo3gCnn_XqdKSx4kra_hWt9PCp79LHcXVlwE4mxVyDSwA6L-z_gyvSV_YrDk/s72-c/1.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-178675262188971764.post-6876539940543766673</id><published>2012-03-12T13:33:00.001-07:00</published><updated>2012-03-14T07:47:02.213-07:00</updated><title type='text'>¿Cómo configurar los impuestos (IVA) en Magento?</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;
1. Se debe crear un nuevo porcentaje de impuesto, para esto hay que ingresar al back e ir a&amp;nbsp;ventas/impuestos/gestión de las zonas de impuestos y precios. Allí se da clic en añadir nueva&amp;nbsp;tasa impositiva y se completa el formulario con los datos especificados: Identificador tributario,&amp;nbsp;país y porcentaje de impuesto.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://4.bp.blogspot.com/-VMxAdGra6JE/T15bY_vRplI/AAAAAAAAAJs/D9kN6m7Ga-s/s1600/1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;331&quot; src=&quot;http://4.bp.blogspot.com/-VMxAdGra6JE/T15bY_vRplI/AAAAAAAAAJs/D9kN6m7Ga-s/s640/1.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
2. Una vez creada una tasa impositiva se procede a crear una regla de impuesto. Para ello&amp;nbsp;se ingresa al menú, ventas/impuestos/gestión de las normas fiscales. Allí se da clic en añadir&amp;nbsp;nueva norma impositiva y se completa el formulario con los datos especificados: Nombre, clase&amp;nbsp;impositiva del cliente, clase de impuesto del producto, tarifa de impuestos (en este campo se&amp;nbsp;selecciona la tasa impositiva creada anteriormente), prioridad y ordenamiento del pedido.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://2.bp.blogspot.com/-_Ed9q21tDMI/T15bhqKHVvI/AAAAAAAAAJ0/QY9Wx0eUV54/s1600/2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;474&quot; src=&quot;http://2.bp.blogspot.com/-_Ed9q21tDMI/T15bhqKHVvI/AAAAAAAAAJ0/QY9Wx0eUV54/s640/2.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
3. Para aplicar los impuestos a los productos, hay que ir a la pestaña de precio en el respectivo&amp;nbsp;producto y en el campo clase de impuesto seleccionar el que corresponda con el tipo de la regla&amp;nbsp;creada en el paso anterior.&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://2.bp.blogspot.com/-9Ae-VHmPxBg/T15bqY21cEI/AAAAAAAAAJ8/VuuRSElzyYc/s1600/3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;420&quot; src=&quot;http://2.bp.blogspot.com/-9Ae-VHmPxBg/T15bqY21cEI/AAAAAAAAAJ8/VuuRSElzyYc/s640/3.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://magento-newshore.blogspot.com/feeds/6876539940543766673/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://magento-newshore.blogspot.com/2012/03/como-configurar-los-impuestos-iva-en.html#comment-form' title='7 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/178675262188971764/posts/default/6876539940543766673'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/178675262188971764/posts/default/6876539940543766673'/><link rel='alternate' type='text/html' href='http://magento-newshore.blogspot.com/2012/03/como-configurar-los-impuestos-iva-en.html' title='¿Cómo configurar los impuestos (IVA) en Magento?'/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-VMxAdGra6JE/T15bY_vRplI/AAAAAAAAAJs/D9kN6m7Ga-s/s72-c/1.png" height="72" width="72"/><thr:total>7</thr:total></entry></feed>