Hi everyone
I just found in the file /administrator/components/com_virtuemart/html/shop.parameter_search_form.php the comment which I think will say search plugin to look just in the specific product_type table and look for certain product parameter_name BUT I don't know where to use in which browsepage I should use it.
COuld you help me to setup it? I am not sure I should include it to my shop category browsepage or I should created HTML file?
Here is the comments fro mthe file:
Code:
<?php
/********************************************************
** BrowsePage - You can use your tepmlate for searching:
** 1) write file with html table (without tags <table> and </table>) and
** take its name into variable browsepage in Product Type
** 2) You can use this page from tag <!-- Default list of parameters - BEGIN --> to
** tag <!-- Default list of parameters - END --> and changed it.
** 3) tag {product_type_<product_type_id>_<parameter_name>} will be replaced input field, or select field
** tag {product_type_<product_type_id>_<parameter_name>_comp} will be replaced comparison
** for this parameter. It is important for correct SQL question.
** tag {product_type_<product_type_id>_<parameter_name>_value} will be replaced value for this
** parameter (when you click on button "Change Parametes" in Browse page).
********************************************************/
if (!empty($browsepage)) { // show browsepage
I understand this field product_type_<product_type_id>_<parameter_name>_
Which browse page Product type search is using? I found this 'product_type_browsepage' => vmGet($d, 'product_type_browsepage'),
and
$browsepage = $db->f("product_type_browsepage");
But which file is that browsepage? i don't know
Would be good to create Browsepage specially for product_type search