[TYPO3-commerce] List products by manufacturer

E. Boer commerce4me at edbo.xs4all.nl
Mon Jul 16 20:55:58 CEST 2007


Hello,

Maybe my quesion wasn't clear enough. But I want a list of products from
one manufacturer. Category doesn't matter. It seems that this is
possible with the help of a hook. I looked around on the list and found
some examples of code. The only problem is now, where have I put the
code into? 

E.g. place this in your localconf.php

require_once(t3lib_extMgm::extPath($_EXTKEY).'PATH_TO/YOUR_HOOK_CLASS.php');
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['commerce/lib/class.tx_commerce_pibase.php']['singleview'][] 
    = 'YOUR_CLASS_NAME';

But which localconf.php, from commerce or from my extension? Is it
possible to create a very little example of a working hook?

Regards,

Eddy
        
        
        
Op vrijdag 13-07-2007 om 21:01 uur [tijdzone +0200], schreef E. Boer:
> Hello all,
> 
> I want to display my products by manufacturer. Building an extension
> which displays the manufacturers have been started. An FE-user clicks on
> the manufacturername and then a list of products should be diplayed.
> 
> Can I use a hook for this, or should the core be changed?
> 
> Regards,
> 
> Eddy
> 
> _______________________________________________
> TYPO3-project-commerce mailing list
> TYPO3-project-commerce at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-commerce



More information about the TYPO3-project-commerce mailing list