Question: I want to include only certain Parameters in filters

This modification is very usefull if you have many Product Type Parameters and you use them on Product Detail Page but you do not want to include all of them on a list of filters. We will create an additional property Include in filter on Product Type Parameter page.

What needs to be done:
  • Insert a new column parameter_include in table jos_vm_product_type_parameter. To do so - run sql query included in archive.
  • Edit administrator\components\com_virtuemart\html\product.product_type_parameter_form.php ~around line 74
  • Edit administrator\components\com_virtuemart\classes\ps_product_type_parameter.php ~around lines: 166, 181, 276, 291
  • Download archive with ready to use files: Virtuemart 1.1.3 or Virtuemart 1.1.4--1.1.9 There are only slight modifications in these two files, so you may simply overwrite them if no custom changes were applied before.

Note: if you have already created Product Types before applying this mod make sure you update Product Type Parameter's info in order to update this in Database.

And finally turn on 'Include only chosen parameters?' in module config:

Visit AsianSexCenter.Com for the best asian xxx.