Sanjeev,

Now I better understand your requirement, you want to add the products in
Most Popular and Best selling on the basis of some calculation.
'ProductCalculatedInfo' is the entity which captures this kind of
information and every time re-calculated the totalQuantityOrdered
totalTimesViewed. Each time when user on front store view the product
detail page it updates the totalTimesViewed field and if he place order for
any product then totalQuantityOrdered field updated.

So data is there, you just need to add logic (probably) seca on this to add
products under your specified categories. Here is the probable mapping of
the fileds;

- Most Popular -> totalTimesViewed
- Best selling -> totalQuantityOrdered

For whats new you can add eca on Product entity on create operation.

HTH!

--
Rishi Solanki
Manager, Enterprise Software Development
HotWax Media Pvt. Ltd.
Direct: +91-9893287847
http://www.hotwaxmedia.com


On Wed, Apr 18, 2012 at 10:48 PM, sanjeev <[email protected]> wrote:

> Appreciate the response Rishi.
> So if i understand this correctly, all these categories have to be
> populated
> manually and there is no inbuilt OFBiz logic to populate the categories
> with
> best selling products, most popular products etc ?
>
> Also is there a specific productCategoryTypeId that should be used while
> creating category with productCategoryId="WK_WhatsNew" or WK_MostPopular
>
> -----
> Rgds
> Sanjeev
> www.sanjeevg.com
> @sanjeevgcom
> --
> View this message in context:
> http://ofbiz.135035.n4.nabble.com/ProdCatalogCategory-PCCT-WHATS-NEW-PCCT-BEST-SELL-PCCT-MOST-POPULAR-tp4532635p4568385.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>

Reply via email to