Author Topic: Search products by meta description and keywords  (Read 788 times)

Three_d

  • Jr. Member
  • **
  • Posts: 56
Search products by meta description and keywords
« on: June 28, 2017, 16:12:45 pm »
Hi,

I've searched the forum and found the "Available Search Fields" in VirtueMart configuration but I'can't find a solution or option to search on product meta description and keywords.
How can this be done?

Jeroen

Three_d

  • Jr. Member
  • **
  • Posts: 56
Re: Search products by meta description and keywords
« Reply #1 on: June 29, 2017, 15:02:36 pm »
Does anyone know which file to edit?

balai

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 1308
Re: Search products by meta description and keywords
« Reply #2 on: June 30, 2017, 10:20:50 am »
In case you are willing to use a 3rd party extension, have a look at Custom Filters.
https://breakdesigns.net/extensions/custom-filters

It searches within those fields plus much more

Three_d

  • Jr. Member
  • **
  • Posts: 56
Re: Search products by meta description and keywords
« Reply #3 on: July 04, 2017, 10:43:37 am »
I prefer a solution without 3rd party extension because we already use a lot 3rd party extensions.
Anyone?

K&K media production

  • VirtueMart Developer Team
  • Global Moderator
  • Full Member
  • *
  • Posts: 834
  • VirtueMart Version: VM3 on J3
Re: Search products by meta description and keywords
« Reply #4 on: July 04, 2017, 14:37:40 pm »
take a look at product model

administrator/com_virtuemart/models/product.php

but all changes are corehacks and will be lost on next update

Three_d

  • Jr. Member
  • **
  • Posts: 56
Re: Search products by meta description and keywords
« Reply #5 on: July 04, 2017, 14:56:44 pm »
You mean: administrator\components\com_virtuemart\models\product.php
I've looked at the file but I don't know what to change?