Default Grid View Products/Categories – Opencart 2
- Find the category.tpl file inside your template/product/ folder.
- Add the following code to the bottom of the page just below <?php echo $footer; ?>
<script type=”text/javascript”>
$(document).ready(function() { if(typeof display == ‘function’) { display(‘grid’); } });
</script>
Leave a Reply
Want to join the discussion?Feel free to contribute!