News:

Looking for documentation? Take a look on our wiki

Main Menu

[SOLVED] How to remove "Choose Product Type" from search page

Started by Ihateit, September 24, 2012, 10:41:27 AM

Previous topic - Next topic

Ihateit

Dont know if this is the right place for this question, but here it goes:

I want to remove the "Choose product type" and the input dropdown box from the search page. I've added a image so you can see what i mean. I cant find any place to edit it backend, nor can i find the php file to simply remove or comment out this section.

In advance, thanks for any help.

//A. Jytzler

[attachment cleanup by admin]

Rayjak


bytelord

Hello,

You have to comment an echo inside category\default.php file around line 150
from:

   <?php echo $this->searchcustom ?>


to

    <?php //echo $this->searchcustom ?>


The default category layout located under your_joomla_folder\components\com_virtuemart\views\category\tmpl\default.php

if you use a custom template edit the file (or copy the above one to create an override) under:

your_joomla_folder\templates\your_joomla_template\html\com_virtuemart\category\default.php


hope it helps you out

Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

Ihateit

Quote from: bytelord on September 24, 2012, 22:30:06 PM
Hello,

You have to comment an echo inside category\default.php file around line 150
from:

   <?php echo $this->searchcustom ?>


to

    <?php //echo $this->searchcustom ?>


The default category layout located under your_joomla_folder\components\com_virtuemart\views\category\tmpl\default.php

if you use a custom template edit the file (or copy the above one to create an override) under:

your_joomla_folder\templates\your_joomla_template\html\com_virtuemart\category\default.php


hope it helps you out

Regards

This worked. Thank you so much, i really appreciate your help :-)

//Anders J.