is it possible to remove the grid link on the products page. I dont want the ability to switch views, currently list is the default and would like to disable or hid the grid option.
thanks
Bryan
open file catalog/view/theme/default/template/product/category.tpl & also search.tpl & also manufacturer_info.tpl
Find & remove
Find & remove
Code: Select all
<div class="display"><b><?php echo $text_display; ?></b> <?php echo $text_list; ?> <b>/</b> <a onclick="display('grid');"><?php echo $text_grid; ?></a></div>
Thanks Market
But is the Javascript still running for the Display function - for a novice how would you strip it right out to make the code tight
Ie - remove unnecessary Java / HTML and CSS and or just replace the DISPLAY:List/GRID with a small message like
"Need Support?: - Give us a call
instead?
Of course it would be far better if Opencart had a reasonable looking grid in the first place which would make trying to change things not needed in the first place
But is the Javascript still running for the Display function - for a novice how would you strip it right out to make the code tight
Ie - remove unnecessary Java / HTML and CSS and or just replace the DISPLAY:List/GRID with a small message like
"Need Support?: - Give us a call
instead?
Of course it would be far better if Opencart had a reasonable looking grid in the first place which would make trying to change things not needed in the first place
Who is online
Users browsing this forum: No registered users and 6 guests