Author Topic: Remove titel and search field/button form search result layout  (Read 1688 times)

DeRo77

  • Beginner
  • *
  • Posts: 3
  • A beginner
Hi All,

I'm using the VM search module in de standard search position of my template. Its a carparts shop, so the search module provides search on original partsnumber (used in the products fields/description)
Works great exept for a few small cosmetic things

The result screen shows 3 items in the header on top of the results
1. VM breadcrumb
2. Page titel (the search key you entered)
3. VM search field and button (Search in store)



The 3rd one: search field and button.. (search in shop) are weird for customers because they just did a search trough the module, hence the result.
Where can I Remove this from the layout?

I also want to remove the page title (nr 2.) to get a cleaner page.

Thnx guys,
Dennis.

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10120
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Remove titel and search field/button form search result layout
« Reply #1 on: March 23, 2015, 22:45:01 pm »
over ride components\com_virtuemart\views\category\tmpl\default.php

from around  if (!empty($this->keyword)) {
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation