Limited search area ...

19.02.2013 22:11
#1
hugo_oguh
Joomshopping forum user no avatar
Name: hugo
04.07.2012
Posts: 7
Quote
Limited search area ...

Hi.

In my shop I'm using module 'Jshopping Search'. Is it possible to search by this module only in the 'Title' and 'short description'? Search in 'long description' gives me too many results.

What should be done to limit the search area?

 
20.02.2013 07:47
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25850
Quote
Aw: Limited search area ...

change file
components\com_jshopping\controllers\search.php

 
20.02.2013 10:49
#3
hugo_oguh
Joomshopping forum user no avatar
Name: hugo
04.07.2012
Posts: 7
Quote
Aw: Limited search area ...

Thank you for your reply.

Could you be more accurate? I guess that I should make some modification in lines 211-228. But my knowledge about php is basic and few attempts of changes led to errors.


Joomla: Joomla! 3.0.1 Stable
JoomShopping: Version 4.0.1A1
PHP: 5.3.19
MySQL: 5.5.29-log
 
08.03.2019 17:09
#4
tomorizso
Joomshopping forum user no avatar
Name: zso
22.03.2014
Posts: 3
Quote
Aw: Limited search area ...

Hi,

i have the same problem. Can you help me, how can i search just with title?

thx!

 
09.03.2019 08:28
#5
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25850
Quote
Aw: Limited search area ...

components/com_jshopping/lib/default_config.php

chage

$config->product_search_fields = array(
'prod.ml:name',
'prod.ml:short_description',
'prod.product_ean',
'prod.manufacturer_code'
);

 
11.03.2019 21:22
#6
tomorizso
Joomshopping forum user no avatar
Name: zso
22.03.2014
Posts: 3
Quote
Aw: Limited search area ...

Dear Admin,

thanks your reply!

It works for me fine, but in this version:

$config->product_search_fields = array(
'prod.ml:name',
'prod.ml:short_description',
'prod.product_ean',
);

thx again :)

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.