By default the PROMOTIONS caegory is the one you have to associate your product 
with for them to show on the main page
https://demo-trunk.ofbiz.apache.org/catalog/control/EditCategory?productCategoryId=PROMOTIONS

This is documented in the
https://cwiki.apache.org/confluence/display/OFBENDUSER/Apache+OFBiz+Business+Setup+Guide
section "Catalog, Category, Product Setup", Point 2 of the 2nd list

Note that, like in most case where it's possible in OFBiz, categories are 
related by graphes not trees, so you can assign many categories to a product to 
get the wanted effect. This is explained in this section.
I know you speak French, so you can also have a look at something I wrote long 
ago here 
http://www.les7arts.com/assist/OFBiz/Creation%20Catalogue%20de%20produits.htm 
section "Création des Catégories d'articles"

Unfortunately I never completed this work, to few technical audience in France

HTH

Jacques

Antony Adopo wrote:
> Hello ofbizers,
> please. I want to display all products of my "new products"category in my
> home page.
> So I created a category with "NEW_PRODUCT" as ID.
> my problem:
> how to retrieve this category and all products members to display in my
> home page? I rode doc but methods are not well documented to understand
> what method used.
> 
> please could you answer me with a code?
> 
> thanks

Reply via email to