Quote
+ results are sorted and organized in pages
- in order to run some core PrestaShop files have to be modified (or overwritten - they're in the package with my module)
- my code is written in a very bad programming style (sorry)
- it may be necessery to change something in frontoffice template in order to display search title properly, but this is not really important
Please, download attached ZIP file, unpack it and look at the uncompressed files. If you use unmodified PrestaShop v1.1 then you can simply overwrite appropriate files (and remember to make backup).
If you use modified Presta then unfortunately you have to copy and paste specific parts of the code from my module (these are single blocks of code, so this shouldn't be much problem). Additionaly, you have to remove word "UNION" from blacklist in /classes/Db.php. MySQL doesn't support INTERSECT operation so I had to do intersection using union and subquery. This may be unsafe, but I don't know other way to do that. :-(
Please, check my module and improve the code if you can. :-)
Attached File(s)
blocksearchbyattribute120_package.zip (9bytes)
Number of downloads: 2232



Vous parlez français ?










