“Hi,
To search in product description and in subcategories by default, you need to edit catalog/view/theme/shoppica/js/shoppica.js. Find this piece of code:
url = ‘index.php?route=product/search&filter_name=’ + encodeURIComponent(filter_name);
and replace it with:
url = ‘index.php?route=product/search&filter_name=’ + encodeURIComponent(filter_name) + ‘&filter_sub_category=true&filter_description=true’;
Best,
ThemeBurn team
TB Support
November 24, 2011 at 10:34 am #3830 ”
Hello
I changed as indicated in the file, but this is error.
What is the solution?
Notice: Error: Can’t find FULLTEXT index matching the column list
Error No: 1191
SELECT p.product_id,(SELECT price FROM product_special ps WHERE ps.product_id = p.product_id AND ps.customer_group_id = ’1′ AND ((ps.date_start = ’0000-00-00′ OR ps.date_start NOW())) ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, p.price AS price FROM product p LEFT JOIN product_description pd ON (p.product_id = pd.product_id) LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id) LEFT JOIN product_special ps ON (p.product_id = ps.product_id) WHERE pd.language_id = ’2′ AND p.status = ’1′ AND p.date_available <= NOW() AND p2s.store_id = '0' AND (LCASE(pd.name) LIKE '%agr%' OR MATCH(pd.description) AGAINST('agr')) OR LCASE(p.model) = 'agr' OR LCASE(p.sku) = 'agr' OR LCASE(p.upc) = 'agr' OR LCASE(p.ean) = 'agr' OR LCASE(p.jan) = 'agr' OR LCASE(p.isbn) = 'agr' OR LCASE(p.mpn) = 'agr' GROUP BY p.product_id in /var/www/res/kreativ/opeleseknek.hu/opelshop/system/database/mysql.php on line 50
|
|
Are you using some other custom modifications to the opencart search ? It seems that your database is not configured correctly.
|
|
Hello
I do not really know English, I use translator.
I do not understand the database.
I’ll give you full access.
Can you help?
Thanks for the help!
|
|
Sorry, we can communicate in english only. Using translation services is not an option as the end result is not descriptive in most cases.
Is seems your error is due to a custom extension you have probably installed or a custom modification of yours. Please, share with us if you have installed vqmod or have made modification to the source code regarding the search functionality.
Regards,
ThemeBurn team
|
|
Hi
Yes, there VQMOD
vesion: 2.3.2
where you need to be rewritten?
Regards,
Attila Kiss
|
|
Can you please disable your vqmod extensions to see if the error is caused by one of them.
|
|