There are 3 tables:
catalog
product
product2catalog
Table product2catalog
consists of the following fields:
catalog_id
product_id
How to get goods within the directory? How to rebuild the connection to be able to do so:
$CatalogTable = CatalogTable::getInstance();
$Catalog = $CatalogTable->find( $id );
var_dump( $Catalog->product );
Could you help me?