Hello Serge,

in OFBiz there is not a direct association between a ProductStore and
products, instead ProdCatalog, ProdCatalogCategory, ProductStoreCatalog,
ProductCategory and ProductCategoryMember entities are used to achieve this
goal.

You can see the ProdCatalog as a collector of categories: the one that is
physically associated with a product store is the ProdCatalog through the
entity  ProductStoreCatalog.
A product catalog is composed by a hierarchy of categories where the first
(root category) always has to be of type "Browse Root" (PCCT_BROWSE_ROOT).
This is managed by the entity ProdCatalogCategory.
Under the "Browse Root" category you can then build your own custom
hierarchy of product categories and associate the product to each one of
it; ProductCategory is the entity used to define a category and a product
is associated to a specific category through the entity
ProductCategoryMember.

*In short*:

ProductStore/Catalog assoc : ProductStore -> ProdCatalog ->
ProductCatalogCategory (Browse Root)

Browse Root Category/Product categories:
- ProductCategory (Browse Root)
 -- productCategory_1 -> Products (through ProductCategoryMember);
 -- productCategory_2 -> Products;
 ---productSubCategory_2_1 -> Products;
 ---productSubCategory_2_2 -> Products;
 -- productCategory_3 -> Products;

In the online backend demo of OFBiz you can start following this structure
from the Catalog Manager -> Stores, pick up a store and then open the tab
"CATALOGS".
You will find different examples of stores and catalogs with different
categories associated, that can give you a good starting point on the
store/catalog/category/product OOTB mechanism.

I hope I have been helpful.

Kind Regards,
Giulio

Il giorno lun 25 ott 2021 alle ore 16:30 Bs Serge <[email protected]> ha
scritto:

> Hi,
>
> I was browsing through the catalog module and I could not find any product
> and store relationship.
>
> I would assume products are supposed to belong in a certain store!
>
> Kindly enlighten me on how OFBiz handles products and stores relationships,
> or point me to a link that explains it.
>
> Thanks,
>
> Best Regards,
>


-- 
Giulio Speri


*Mp Styl**e Srl*
via Antonio Meucci, 37
41019 Limidi di Soliera (MO)
T 059/684916
M 347/0965506

www.mpstyle.it

Reply via email to