0

I have set a new view mode on my catalog toolbar and it's work. But i would like to make it as default list view. How can I do it? I try with my local xml adding this:

<catalog_category_default>
    <reference name="product_list_toolbar">
        <action method="setData"><data>_current_grid_mode</data><mode>list</mode></action>
    </reference>
</catalog_category_default>

<catalog_category_layered>
    <reference name="product_list_toolbar">
        <action method="setData"><data>_current_grid_mode</data><mode>list</mode></action>
    </reference>
</catalog_category_layered>

But nothing change!

1 Answer 1

0

You can change default view from admin as well

System -> Configuration -> Catalog -> Frontend -> List mode

For custom view type using observer this link will help you.

1
  • I can't because I would like to set my custom list 'b2b order list' mode as defualt, and I can't see it in this configuration menu
    – laura
    Nov 6, 2015 at 9:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.