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 </body>
Add this code:
<script type="text/javascript">$(document).ready(function() { display('grid'); });</script>
And that’s it – you’re done!
Enjoy
Related Posts :
- Premium OpenCart 1.5 Themes & Templates
- OpenCart 301 Redirect Not Working SEO Fix ?_route_=
- Opencart Open Cart 1.5 addModule is not defined *FIX* - cannot add banner etc -






Good job, simple and efficient, thank you. Works fantastic.
Great solution, thank you!
Hi,
While Googling also found this regarding the above:
http://forum.opencart.com/viewtopic.php?t=33075
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