News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Change Search result to show on top of the page

Started by cynthu, January 31, 2012, 19:43:46 PM

Previous topic - Next topic

stslit

Tanks :) and Sorry :-[
I must use search more accuracy. ;D ;D ;D

[solved]

sanifu

Hi I have tried that code to delete the categories from the top of the search section but it doesn't seem to work on my site. Also I would like to get rid off that Choose product type box as well as search in shop box.

Using Joomla 2.5 and Virtuemart 2

PRO


I use this to NOT display things when on search page

Put this somewhere at the top of your file
   <?php $searchnone=JRequest::getVar('keyword',0); ?>


Then wrap whatever you dont want to show like this

<?php if (empty($searchnone)) {?>



WHATEVER is HERE is not shown when search


<?php } ?>

mjandia

I have  the same problem with WM2 2.0.6. I don't find the solution the line.

amalia

Quote from: sanifu on May 24, 2012, 16:30:38 PMAlso I would like to get rid off that Choose product type box as well as search in shop box.

Just remove this line..
<?php echo $this->searchcustom /?>

it's somewhere in 147 +/- line..

mjandia

#20
thank you for your reply but I i want to remove on result page the select product and the search box on VM2 2.0.6 . The file is not component /com virtuemart/views/categories/tmpl/default.php ?

mjandia


copierx

Hi,

None of them work for me.

VM Version is 2.0.8

webe


Menace

Quote from: BanquetTables.pro on May 24, 2012, 18:16:37 PM

I use this to NOT display things when on search page

Put this somewhere at the top of your file
   <?php $searchnone=JRequest::getVar('keyword',0); ?>


Then wrap whatever you dont want to show like this

<?php if (empty($searchnone)) {?>



WHATEVER is HERE is not shown when search


<?php } ?>

Thank you Banquet! I used this code for taking products out of my search results and it worked well for me.
Now I want to display childcategories instead in search results but I don't get it to work.

Any solutions for that issue?