Is there anywhere I can tweak the code in my shop to make the product listings default to grid view? I was able to do this in my older version of Opencart before I upgraded, but now it's back to defaulting to list view.
I have tried a handful of extensions (Vqmod) that claim to do this, but none of them seem to have any effect on my shop and I'm hoping there is simply somewhere in the code that I can change this setting instead?
Thanks so much!
You can adjust the template file:
in catalog/view/theme/default/template/product/category.tpl
Search at the bottom:
choose for display('grid'); or display('list');
You want this default display elsewhere? Search for the part of code i've shown you and change list for grid.
in catalog/view/theme/default/template/product/category.tpl
Search at the bottom:
Code: Select all
if (view) {
display(view);
} else {
display('grid');
}
You want this default display elsewhere? Search for the part of code i've shown you and change list for grid.
OC v 1.5.4 with alot of tweaks,exts & mods.
Who is online
Users browsing this forum: No registered users and 122 guests