Products can exists in multiple categories. 
Categories can exist in multiple catalogs.  So,
products can exist in multiple catalogs. It
shouldn't/doesn't AFAIK hurt ecommerce or ordermgr to
have the products in multiple places.

--- rohit2006 <[EMAIL PROTECTED]> wrote:

> 
> i am not sure if putting all the products in one
> catalog is a solution.  
> 
> 
> 
> cjhowe wrote:
> > 
> > roll your own or put all of the products in one
> > catalog
> > 
> > --- rohit2006 <[EMAIL PROTECTED]> wrote:
> > 
> >> 
> >> Hi,
> >> 
> >> How do we get full product links, to get products
> >> from different catalogs.
> >> For eg. a link to a product in a catalog, other
> than
> >> the first catalog,
> >> returns a product not found error.
> >>  
> >>
> >
>
http://www.mysite.com/ecommerce/control/product/~category_id=10090/~product_id=8178085739
> >> 
> >> I guess the catalogworker.java file is used to
> call
> >> products. It only works
> >> if the catalog ID is included in the URI, 
> >> 
> >>
> >
>
http://www.mysite.com/ecommerce/control/product/~category_id=10090/~product_id=8178085739/~CURRENT_CATALOG_ID=MARKETPLACE
> >> 
> >> 
> >> In the catalogworker.java it is mentioned as:
> >> 
> >>  /**
> >>      * Retrieves the current prodCatalogId. 
> First
> >> it will attempt to find
> >> it from a special
> >>      * request parameter or session attribute
> named
> >> CURRENT_CATALOG_ID. 
> >> Failing that, it will
> >>      * get the first catalog from the database as
> >> specified in
> >> getCatalogIdsAvailable().  
> >>      * If this behavior is undesired, give the
> user
> >> a selectable list of
> >> catalogs.
> >>      */
> >> 
> >> I am not sure if this logic is correct. Should it
> >> not get catalod ID for the
> >> product instead of getting the first catalod ID
> from
> >> the database. I am not
> >> aware if there are any other reasons for doing
> this.
> >> 
> >> But this also causes the link in the last
> products
> >> viewed box to break, when
> >> a browser views product from different catalogs.
> >> 
> >> Any suggestions on can we get this fixed.
> >> 
> >> Rohit
> >> -- 
> >> View this message in context:
> >>
> >
>
http://www.nabble.com/Product-URI-and-product-catalogs.-Get-product-from-different-catalogs--tf2088673.html#a5756783
> >> Sent from the OFBiz - User forum at Nabble.com.
> >> 
> >> 
> > 
> > 
> > 
> 
> -- 
> View this message in context:
>
http://www.nabble.com/Product-URI-and-product-catalogs.-Get-product-from-different-catalogs--tf2088673.html#a5758291
> Sent from the OFBiz - User forum at Nabble.com.
> 
> 

Reply via email to