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

Vendor store description on search results page

Started by Leila, September 28, 2018, 14:23:20 PM

Previous topic - Next topic

Leila

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

jjk

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.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

GJC Web Design

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) ) { ?>
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Leila

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!



GJC Web Design

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
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Leila

#5
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!