Antony Adopo,

Add your NEW_PRODUCT category to your catalog using the ProdCatalogCategory
as type PCCT_PROMOTION and then use
CatalogWorker.getCatalogPromotionsCategoryId to get the specific category.
Similar is done at the ecommerce home page what Hans suggested. Please let
me know if more information required.

Imac,

That is fine if you don't want to dig into the code as per community
suggestion but you should not comment like this for one who is getting some
time to help someone. It could be rephrase like "Could you please provide
more pointers .... or something like that". It might be possible that Hans
hint give opportunity to someone to get the answers of all of his/her
hidden questions. So please do not reply unnecessarily to a thread to show
your frustration whenever required please resend the your query for further
discussion or clarification.

Everyone on community would be happy to help further.


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


On Fri, Nov 8, 2013 at 11:50 AM, Imac <[email protected]> wrote:

> Hans,
>
> I follow this list fairly regularly but being a beginner unfortunately I
> can't contribute as much as I would like. However, after reading your
> response, I feel a comment is necessary.
>
> Your response is counter productive at best and completely insulting and I
> would recommend that if this is the most constructive thing you have to
> say, do us a favour and just keep it to yourself.
>
> I'm not sure way you would waste everyones time and inbox space with such
> a useless response. Is it that perhaps you think yourself above helping
> anyone or that we are simply wasting your time by asking such trivial
> questions and that Ofbiz should best be left to great experts like
> yourself?
>
> You are right when you say OpenSource is great. And what makes it great
> is, it is COMMUNITY EFFORT and not just that you can look at the source
> code.
>
> Just my two cents
>
>
>
> On 11/8/13 2:50 AM, "Hans Bakker" <[email protected]> wrote:
>
> >Hi Antony
> >
> >the really big advantage of open source is that you can see how it is
> >done in the existing application. Study the e-commerce component and
> >find out how the products are displayed on the home page?
> >
> >Do similar with your category or simply re-use the existing code?
> >
> >Regards,
> >Hans
> >
> >-- AntWebsystems.com quality services with competitive rates....
> >
> >
> >
> >On 11/08/2013 05:29 AM, Antony Adopo wrote:
> >> Hello ofbizers,
> >> please. I want to display all products of my "new products"category in
> >>my
> >> home page.
> >> So I created a category with "NEW_PRODUCT" as ID.
> >> my problem:
> >> how to retrieve this category and all products members to display in my
> >> home page? I rode doc but methods are not well documented to understand
> >> what method used.
> >>
> >> please could you answer me with a code?
> >>
> >> thanks
> >>
> >
> >
>
>
>

Reply via email to