VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: Fintan on July 31, 2013, 14:53:41 PM

Title: Do not need the filter fields in category view.
Post by: Fintan on July 31, 2013, 14:53:41 PM
The title says it.

I have just one category with my specials.

How can I easily get rid of the filter fields?
http://www.latina-bodyfashion.ch/Test/index.php/en/weekly-specials (http://www.latina-bodyfashion.ch/Test/index.php/en/weekly-specials)

I am not good with PHP, so be patient with me please.
Title: Re: Do not need the filter fields in category view.
Post by: liquid.ideas on July 31, 2013, 15:03:02 PM
Comment out the section in \components\com_virtuemart\views\category\tmpl\default.php that the div: orderby-displaynumber is in
Title: Re: Do not need the filter fields in category view.
Post by: Fintan on July 31, 2013, 20:58:08 PM
Thank you. Commenting out didn't work, just added ## to the filed.

Deleting it worked. Hope I didn't break anything :)
Title: Re: Do not need the filter fields in category view.
Post by: liquid.ideas on August 01, 2013, 09:26:00 AM
Happy it worked, for future reference bear in mind that you should do things in template over-rides so they dont get overwritten if you update VM have a look over here: http://forum.virtuemart.net/index.php?topic=90935.0