What are you proposing?

Currently products are constrained by special categories associated with the catalog, through the ProdCatalogCategory entity. On that entity there is a prodCatalogCategoryTypeId field and there are various options for it. If you want to limit the products that can be viewed, then you must setup a "View Allow" category. If you want to restrict the products that can be added to the cart then you must setup a "Purchase Allow" category.

If you don't setup those types of categories, then the catalog can be used to view or purchase any product, and that is how it is designed to function.

Are you (and everyone who commented in favour of this) saying that you want to change that behavior? I guess a more general question is what exactly (in terms of data model and default behavior for different data being present or missing) are you proposing to change?

I apologize for the confrontative nature of this message, but it seems like it is all based on a misunderstanding of how the current model works (which can be seen be testing with the different catalogs in the current demo data, or looking at the code).

-David


On Apr 29, 2009, at 12:36 AM, Ashish Vijaywargiya wrote:

Hello,

Today I created a Sales Order in OFBiz. Then a question came in my mind. Sharing the same with you all.

On the first screen I provided "DemoCustomer" in "Customer" field.
On next screen we have option to select Order Name, PO Number, Currency & Choose Catalog (All are optional.)
This is all good.

Now suppose I selected "Demo Catalog" (remains selected as default option) then in next screen we have option to select "Product" and its quantity. I see the Product Lookup shows all the products either it is associated with "Demo Catalog" or "Test Catalog". After this I added a new Product in the "TSTLTDADMIN" category that is associated with the catalog "Test Catalog".
The new product is also shown in the Product Lookup.

Is it correct behavior ?
In my opinion we should only show the products that are associated with the selected catalog (in my case I selected "Demo Catalog").

Thoughts ?

--
Ashish

Reply via email to