Quantcast
Channel: Últimos conteúdos
Viewing all articles
Browse latest Browse all 14190

So esta Listando produtos novos

$
0
0

Amigos estou tendo problemas para exibição de todos produtos no magento, tem tag que insere um widget mas coloquei via codigo e nao funcionou. 

Tirei os comentarios do cod para aparecer os produtos na edicao do xml pelo editor na pagina inicial 

<reference name="content">
        
<block type="catalog/product_new" name="home.catalog.product.new" alias="product_new" template="catalog/product/new.phtml" after="cms_page">

            <action method="addPriceBlockType">
                <type>bundle</type>
                <block>bundle/catalog_product_price</block>
                <template>bundle/catalog/product/price.phtml</template>
            </action>
        </block>
        <block type="reports/product_viewed" name="home.reports.product.viewed" alias="product_viewed" template="reports/home_product_viewed.phtml" after="product_new">
            <action method="addPriceBlockType">
                <type>bundle</type>
                <block>bundle/catalog_product_price</block>
                <template>bundle/catalog/product/price.phtml</template>
            </action>
        </block>
        <block type="reports/product_compared" name="home.reports.product.compared" template="reports/home_product_compared.phtml" after="product_viewed">
            <action method="addPriceBlockType">
                <type>bundle</type>
                <block>bundle/catalog_product_price</block>
                <template>bundle/catalog/product/price.phtml</template>
            </action>
        </block>
    </reference>
    <reference name="right">
        <action method="unsetChild"><alias>right.reports.product.viewed</alias></action>
        <action method="unsetChild"><alias>right.reports.product.compared</alias></action>
    </reference>
essa parte e a que traz o tipo de produto novo, todos por categoria ou randomico
<block type="catalog/product_new" name="home.catalog.product.new" alias="product_new" template="catalog/product/new.phtml" after="cms_page">
eu alterei a chamada para trazer todos! mas nao traz!! alguem sabe o que esta errado?
<block type="catalog/product_list" name="home.catalog.product.list" alias="products_homepage" template="catalog/product/new.list" after="cms_page">
lembrando que todas config do produto estao ok, qtd no estoque, habilitado etc
Desde ja grato 

Viewing all articles
Browse latest Browse all 14190

Trending Articles