2013-02-22 47 views

回答

2

你的每行的列数设置为4,则需要将其更改为3

转到/app/design/frontend/default/[theme]/layout/catalog.xml

<catalog_product_view translate="label"> 
    <label>Catalog Product View (Any)</label> 
    .... 
    <block type="catalog/product_list_upsell" name="product.info.upsell" as="upsell_products" template="catalog/product/list/upsell.phtml"> 
       <action method="setColumnCount"><columns>5</columns></action> 
       .... 

更改线路

<action method="setColumnCount"><columns>3</columns></action> 
+0

它的工作!感谢您的帮助!为我节省了很多时间。 – 2013-02-22 23:10:01