Magento自动销售类别未正确显示产品

I am trying to do an automatic sales category for my magento webshop. - I have followed this tutorial: https://www.creativemgroup.com/creative-media-web-services/magento-blog/68-create-a-magento-on-sale-category-the-right-way

The php script itself works as intended, as it shows the products with specialprice/on sale on sales category.

Problem: The product does not show the right way, the products needs to be shown as they are shown on my frontpage (With flags, shortdescription and so on)

see frontpage: Link Deleted

see salescategory: Link Deleted

I am almost sure, the problem is with the "Custom Design" xml for my category:

    <reference name="content">
    <remove name="product_list"/>
    <block type="catalog/product_sale" name="product_sale" alias="sale" template="catalog/product/list.phtml">
    <block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
    <block type="page/html_pager" name="product_list_toolbar_pager"/>
    </block>
    <action method="setLimit"><limit>32</limit></action>
    <action method="setColumnCount"><columns>3</columns></action>
    <action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
    <action method="addPriceBlockType">
    <type>bundle</type>
    <block>bundle/catalog_product_price</block>
    <template>bundle/catalog/product/price.phtml</template>
    </action>
    </block>
    </reference>
    <reference name="product_list_toolbar">
    <action method="setDefaultGridPerPage">
    <limit>32</limit>
    </action>
    </reference>

How do i get the right "Product" design for my sales category? I am not skilled in neither xml nor magento blocks

Hoping for a helping hand here.

查看全部
duan02143
duan02143
2016/07/01 17:52
  • xml
  • php
  • magento
  • 点赞
  • 收藏
  • 回答
    私信
满意答案
查看全部

1个回复