Page 1 of 1

Ajax Search Pro customisation

PostPosted: Sat Nov 07, 2020 5:26 pm
by shumkarov
Hello,
I'd like to make two customisations of the Ajax Search Pro module and I'll be gratefull if you help me:
First, I'd like to remove the products SKU from the search result. I tried by removing all the options containing SKU from the search priorities in the module settings, but in the results the SKU is still shown. Which file is rendering the results and where I can find it?
And second, I'd like to set an image for the Submit button instead of the text. How can I do it?
Thanks!

Re: Ajax Search Pro customisation

PostPosted: Fri Mar 05, 2021 1:48 pm
by admin
hello, if you are using it in ajax mode, the drop down can be adjusted per override of this:

/components/com_rupsearch\views\search\tmpl\default_dropdown.php
override: /templates/{yourtemplate}/html/com_rupsearch/search/default_dropdown.php

queries can be adjusted in :

/modules/mod_virtuemart_ajax_search_pro\tmpl\queries.php
override: /templates/{yourtemplate}/html/mod_virtuemart_ajax_search_pro/queries.php

by defualt it uses your virtuemart category template to display the results, but you can create an overide of:
/templates/{yourtemplate}/html/com_rupsearch/category/default.php
as a copy of:
/templates/{yourtemplate}/html/com_virtuemart/category/default.php

similarly for manufacturer or other pages.

best regards, stan