Post by littleandgraceful » Tue Aug 27, 2013 12:20 pm

Hi how do I delete the Grid View Option I only want my products to be displayed in List View as they don't sit very well in grid view. Can someone help with this please.
Thanks :)


Posts

Joined
Tue Aug 27, 2013 10:46 am

Post by ShaneTFletcher » Tue Aug 27, 2013 4:21 pm

Just simply remove a part of code in 1 of your template files.

Go to - catalog\view\theme\{yourtheme}\template\product
and locate the file category.tpl

In there, find the code -

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>
This is on the line 47 - 48.

Just remove that code and save!

New member

Posts

Joined
Sat Jul 07, 2012 4:32 am

Post by littleandgraceful » Wed Aug 28, 2013 7:05 am

Ok thanks for your help :)


Posts

Joined
Tue Aug 27, 2013 10:46 am

Post by stokeyblokey » Mon Sep 16, 2013 8:54 pm

Thanks for this information, I have an issue with IE10 when a user selects grid view - it removes all the "rounding" on the corners of the buttons and menus on the whole site and it stays that way until the PC is turned off and booted from cold again.

No errors in any logs...no idea why...but this will fix it :)

Stokey


User avatar
Active Member

Posts

Joined
Sat Aug 31, 2013 10:19 pm
Who is online

Users browsing this forum: No registered users and 15 guests