Opencart Grid View by Default

Opencart Grid View by Default

Opencart Grid View by Default

This is a tutorial or how to guide to help you make OpenCart 1.5 display the grid view by Default.

This is really really simple and easy to do, and why there’s no option in the OpenCart Admin Area to specify this is beyond me, however.
Open > your themes folder > template > common > footer.tpl

And then before

Add this code:



And that’s it – you’re done!

Enjoy 🙂

 

16 Responses

  1. Edgar says:

    Good job, simple and efficient, thank you. Works fantastic.

  2. ThemeGrrl says:

    Great solution, thank you!

  3. Johnny says:

    Hi,

    While Googling also found this regarding the above:
    http://forum.opencart.com/viewtopic.php?t=33075

  4. Dante says:

    in oc 1.5.1.3 find this code:

    if (view) {
    display(view);
    } else {
    display(‘list’);
    }

    at the bottom of the template of your interest, and change it to

    if (view) {
    display(view);
    } else {
    display(‘grid’);
    }

    i find that’s a better way to modify oc default view.
    Bye bye

  5. Thanks very much, my client always asking for changing the default view to grid, now it’s ok ,,, working fine…. Thanks

  6. Janine says:

    Works perfectly and much easier than some of the other methods I have seen! Thank you for sharing!

  7. […] จาก http://www.itsadam.co.uk/opencart-grid-view-by-default/ This entry was posted in Opencart. Bookmark the permalink. ← CR2 HTML Module โมดูลสำหรับใส่ HTML ใน Opencart […]

  8. Nick says:

    Great fix, thanks 🙂 Can’t believe it was that easy to change, and that there isn’t an option in the admin panel for that..

    Nick

  9. Karin says:

    Thanks, works great in 1.5.4.1. The other solutions I’ve found did nothing.

  10. Kaze says:

    thx a lot for ur great solution, now i can change from List to Grid 😀

  11. Muhammad Naveed says:

    Excellent work, Thanks

  12. Iffi says:

    FanTasTic dearu Great Work ….. jeanius ahan 🙂

  13. David says:

    Thanks

  14. indra mulia says:

    YESS… It works.
    Thank you for helpfull sharing. 🙂

  15. Mirza Baig says:

    Wow that was easy solution worked fine for my requirement!
    Thanks a lot

  16. Konstantin says:

    Thank you man.
    Works perfect in 1.5.5.1

Leave a Reply

Your email address will not be published. Required fields are marked *