Hi! Is it possible to hide vendor store description on virtuemart search results page before search results? I need it on my default page which is top level category layout but not on results page! I dont understand why and for what reason it is there. Explain me please or help me to hide or delete it. I use Virtuemart 3.4.0
Do you use a VirtueMart plugin which might add that? I'm not aware of a form field labeled 'Vendor Store Description' in the VM core.
in a components\com_virtuemart\views\category\tmpl\default.php overide change the line
if ($this->show_store_desc and !empty($this->vendor->vendor_store_desc)) { ?>
to
if ($this->show_store_desc and !empty($this->vendor->vendor_store_desc) and empty($this->keyword) ) { ?>
My backend is in Russian so I am not sure about correct translation (Virtuemart > Shop > Description).
Ive already done override but Id like to know why store description on search results page can not be hidden in settings. I think it is not very comfortable especialy on mobile to scroll downl all that sheet of store description to see search results.:)
But maybe there is a reason for this, will you explain me?
Besides store description block is on every page of pagination!
I have already told u how to do this...
We could have settings for 100's of more configurations and user wishes - but obviously there has to be limits
just do the simple change I mention
GJC Web Design, thank you for your help!
I understand that it is impossible to meet needs of all users but I really think my question is obvious. I looked through different VM templates and many of them delete/ hide store description section and categories from search and pagination. This little thing makes people use overrides. I worry because recently I met errors with overrides after update and now I try to minimise them.
So I just want to know the reasons of such layout. Maybe I dont understand obvious things and vendor description MUST be on results page and pagination.
Regards!