ProdCatalogCategory - PCCT_WHATS_NEW, PCCT_BEST_SELL, PCCT_MOST_POPULAR

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

ProdCatalogCategory - PCCT_WHATS_NEW, PCCT_BEST_SELL, PCCT_MOST_POPULAR

Sanjeev Gupta
I see that the following Product Catalog Category types exist in OfBiz but haven't been able to locate any usage of these catalog category type. So I'm wondering if I'm missing something or is just they haven't not been implemented as yet.

PCCT_WHATS_NEW      - What's New
PCCT_BEST_SELL         - Best Seller
PCCT_MOST_POPULAR  - Most Popular


Rgds
Sanjeev
Rgds
Sanjeev Gupta
www.digitalwebadvisors.com
Reply | Threaded
Open this post in threaded view
|

Re: ProdCatalogCategory - PCCT_WHATS_NEW, PCCT_BEST_SELL, PCCT_MOST_POPULAR

Rishi Solanki
These are the special types categories for catalog. If you see the
PCCT_PROMOTIONS type you will get an idea how to use these types as per
 your requirement. There is no example set for these.
The basic purpose of these categories to group the other categories and/or
products to render in specific section of site pages. You can see the code
support exists for all these category in CatalogWorker.java. Also please
note that, all these category set only one for a specific catalog, please
see the ProdCatalogCategory.description field, which stated that which type
should setup how many times for a catalog.

HTH!

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


On Wed, Apr 4, 2012 at 10:54 PM, sanjeev <[hidden email]> wrote:

> I see that the following Product Catalog Category types exist in OfBiz but
> haven't been able to locate any usage of these catalog category type. So
> I'm
> wondering if I'm missing something or is just they haven't not been
> implemented as yet.
>
> PCCT_WHATS_NEW      - What's New
> PCCT_BEST_SELL         - Best Seller
> PCCT_MOST_POPULAR  - Most Popular
>
>
> Rgds
> Sanjeev
>
> --
> View this message in context:
> http://ofbiz.135035.n4.nabble.com/ProdCatalogCategory-PCCT-WHATS-NEW-PCCT-BEST-SELL-PCCT-MOST-POPULAR-tp4532635p4532635.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
Reply | Threaded
Open this post in threaded view
|

Re: ProdCatalogCategory - PCCT_WHATS_NEW, PCCT_BEST_SELL, PCCT_MOST_POPULAR

Sanjeev Gupta
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 Gupta
www.digitalwebadvisors.com
Reply | Threaded
Open this post in threaded view
|

Re: ProdCatalogCategory - PCCT_WHATS_NEW, PCCT_BEST_SELL, PCCT_MOST_POPULAR

Rishi Solanki
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 <[hidden email]> 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 | Threaded
Open this post in threaded view
|

Re: ProdCatalogCategory - PCCT_WHATS_NEW, PCCT_BEST_SELL, PCCT_MOST_POPULAR

Sanjeev Gupta
Thanks Rishi. That's precisely the information i was looking for.
Rgds
Sanjeev Gupta
www.digitalwebadvisors.com