[TYPO3-shop] [Typo3-shop] extending product search
Franz Holzinger
franz at fholzinger.com
Wed Feb 22 23:19:18 CET 2006
Hello Vikram,
>
> I have created a simple search file and did the following changes to
> tt_products to get it working:
> (latest version with the changes available at
> http://www.fivee.in/fileadmin/T3X_tt_products-2_4_6-z-with_search_file.zip)
>
> Step-1: created the lib/class.tx_ttproducts_search.php with the
> searchWhere() method
> Step-2: included the search file in the class.tx_ttproducts_pi1.php file
> (see line 75)
> Step-3 made a instance of the new search file in the
> lib/class.tx_ttproducts_list_view.php (see line 122)
>
> Can you have a look and confirm if this is the correct approach or is
> there a better way to do it.
>
this sounds interesting.
Please create a patch file, e.g.:
diff -ru /var/www/html/typo3conf/ext/tt_products
/var/www/html/typo3conf/ext/tt_products-with_search_file >
with_search_file.diff
Regards,
Franz
More information about the TYPO3-project-tt-products
mailing list