Re: How to disable Product

2009-02-18 Thread Jacques Le Roux
You could use the "View Allow" category concept 
http://docs.ofbiz.org/display/OFBENDUSER/Apache+OFBiz+Business+Setup+Guide#ApacheOFBizBusinessSetupGuide-CatalogSetup


Jacques

From: "Abhishake Agarwal" 

Thanks Ashish, Kumaraswamy for quick reply.

I cannot disable category as there are many more other products inside
categories. Also product I want to disable associated with many categories
and one of the category is test category which contain all that product
which I need to disable(easy for me to find the product need to be disbale).
I have only option to disable the product so that they won't be visible on
ecommerce site.

I used sales Discontinuation date but still the products are visible with
sales Discontinuation message.

Regards,
Abhishake

On Wed, Feb 18, 2009 at 1:43 PM, Kumaraswamy nandipati <
kumarasw...@ecomzera.com> wrote:


Hi Abhishake,

Use sales Discontinuation date in edit product page, so it wont visible.

OR

go to category tab, you can set thruDate to the categories which are not
required to display this product.

On Wed, Feb 18, 2009 at 1:29 PM, Abhishake Agarwal <
abhishake.agar...@gmail.com> wrote:

> Hi,
>
> I want to disable some product. I tried with putting past date in
> *supportDiscontinuationDate
> *and it was not working.
>  Please let me know the process.
>
> Regards,
> Abhishake
>



--
Thanks,
Kumaraswamy.N
91-9866805250.







Re: How to disable Product

2009-02-18 Thread Kumaraswamy nandipati
Ok then apply first choice, given by me.

On Wed, Feb 18, 2009 at 2:10 PM, Kumaraswamy nandipati <
kumarasw...@ecomzera.com> wrote:

> Uggr,
>
> don't disable the category. Just set thruDate to the category
>
> Open
> https://*yoursite.com*/catalog/control/EditProductCategories?productId=*
> your_product_id*
>
> change the *red* text according to you.
>
> Here, you can find the list of categories which are associated with this
> product. Just set *thruDate* as current time or past date, then that
> product won't visible in that category on front end.
>
>  *OR*
>
>  set current date to *Sales discontinuation Thru Date* field at
> https://*yoursite.com*/catalog/control/EditProduct?productId=*
> your_product_id*
>
> will solve your problem.
>
>
>
>
>
> On Wed, Feb 18, 2009 at 1:52 PM, Abhishake Agarwal <
> abhishake.agar...@gmail.com> wrote:
>
>> Thanks Ashish, Kumaraswamy for quick reply.
>>
>> I cannot disable category as there are many more other products inside
>> categories. Also product I want to disable associated with many categories
>> and one of the category is test category which contain all that product
>> which I need to disable(easy for me to find the product need to be
>> disbale).
>> I have only option to disable the product so that they won't be visible on
>> ecommerce site.
>>
>> I used sales Discontinuation date but still the products are visible with
>> sales Discontinuation message.
>>
>> Regards,
>> Abhishake
>>
>> On Wed, Feb 18, 2009 at 1:43 PM, Kumaraswamy nandipati <
>> kumarasw...@ecomzera.com> wrote:
>>
>> > Hi Abhishake,
>> >
>> > Use sales Discontinuation date in edit product page, so it wont visible.
>> >
>> > OR
>> >
>> > go to category tab, you can set thruDate to the categories which are not
>> > required to display this product.
>> >
>> > On Wed, Feb 18, 2009 at 1:29 PM, Abhishake Agarwal <
>> > abhishake.agar...@gmail.com> wrote:
>> >
>> > > Hi,
>> > >
>> > > I want to disable some product. I tried with putting past date in
>> > > *supportDiscontinuationDate
>> > > *and it was not working.
>> > >  Please let me know the process.
>> > >
>> > > Regards,
>> > > Abhishake
>> > >
>> >
>> >
>> >
>> > --
>> > Thanks,
>> > Kumaraswamy.N
>> > 91-9866805250.
>> >
>>
>
>
>
> --
> Thanks,
> Kumaraswamy.N
> 91-9866805250.
>



-- 
Thanks,
Kumaraswamy.N
91-9866805250.


Re: How to disable Product

2009-02-18 Thread Kumaraswamy nandipati
Uggr,

don't disable the category. Just set thruDate to the category

Open
https://*yoursite.com*/catalog/control/EditProductCategories?productId=*
your_product_id*

change the *red* text according to you.

Here, you can find the list of categories which are associated with this
product. Just set *thruDate* as current time or past date, then that product
won't visible in that category on front end.

 *OR*

 set current date to *Sales discontinuation Thru Date* field at
https://*yoursite.com*/catalog/control/EditProduct?productId=*
your_product_id*

will solve your problem.




On Wed, Feb 18, 2009 at 1:52 PM, Abhishake Agarwal <
abhishake.agar...@gmail.com> wrote:

> Thanks Ashish, Kumaraswamy for quick reply.
>
> I cannot disable category as there are many more other products inside
> categories. Also product I want to disable associated with many categories
> and one of the category is test category which contain all that product
> which I need to disable(easy for me to find the product need to be
> disbale).
> I have only option to disable the product so that they won't be visible on
> ecommerce site.
>
> I used sales Discontinuation date but still the products are visible with
> sales Discontinuation message.
>
> Regards,
> Abhishake
>
> On Wed, Feb 18, 2009 at 1:43 PM, Kumaraswamy nandipati <
> kumarasw...@ecomzera.com> wrote:
>
> > Hi Abhishake,
> >
> > Use sales Discontinuation date in edit product page, so it wont visible.
> >
> > OR
> >
> > go to category tab, you can set thruDate to the categories which are not
> > required to display this product.
> >
> > On Wed, Feb 18, 2009 at 1:29 PM, Abhishake Agarwal <
> > abhishake.agar...@gmail.com> wrote:
> >
> > > Hi,
> > >
> > > I want to disable some product. I tried with putting past date in
> > > *supportDiscontinuationDate
> > > *and it was not working.
> > >  Please let me know the process.
> > >
> > > Regards,
> > > Abhishake
> > >
> >
> >
> >
> > --
> > Thanks,
> > Kumaraswamy.N
> > 91-9866805250.
> >
>



-- 
Thanks,
Kumaraswamy.N
91-9866805250.


Re: How to disable Product

2009-02-18 Thread Abhishake Agarwal
Thanks Ashish, Kumaraswamy for quick reply.

I cannot disable category as there are many more other products inside
categories. Also product I want to disable associated with many categories
and one of the category is test category which contain all that product
which I need to disable(easy for me to find the product need to be disbale).
I have only option to disable the product so that they won't be visible on
ecommerce site.

I used sales Discontinuation date but still the products are visible with
sales Discontinuation message.

Regards,
Abhishake

On Wed, Feb 18, 2009 at 1:43 PM, Kumaraswamy nandipati <
kumarasw...@ecomzera.com> wrote:

> Hi Abhishake,
>
> Use sales Discontinuation date in edit product page, so it wont visible.
>
> OR
>
> go to category tab, you can set thruDate to the categories which are not
> required to display this product.
>
> On Wed, Feb 18, 2009 at 1:29 PM, Abhishake Agarwal <
> abhishake.agar...@gmail.com> wrote:
>
> > Hi,
> >
> > I want to disable some product. I tried with putting past date in
> > *supportDiscontinuationDate
> > *and it was not working.
> >  Please let me know the process.
> >
> > Regards,
> > Abhishake
> >
>
>
>
> --
> Thanks,
> Kumaraswamy.N
> 91-9866805250.
>


Re: How to disable Product

2009-02-18 Thread Ashish Vijaywargiya
FYI "supportDiscontinuationDate" field play important role while 
Returning an Order Item (aka product)


For reference take a look on the below code snippet taken from 
OrderReturnServices.java file:

Line # 327 - 333.

 // next check support discontinuation
   if (product != null && product.get("supportDiscontinuationDate") 
!= null &&
   
!UtilDateTime.nowTimestamp().before(product.getTimestamp("supportDiscontinuationDate"))) 
{

   // support discontinued either now or in the past
   returnable = false;
   }

Thanks !

--
Ashish

Abhishake Agarwal wrote:

Hi,

I want to disable some product. I tried with putting past date in
*supportDiscontinuationDate
*and it was not working.
 Please let me know the process.

Regards,
Abhishake

  


smime.p7s
Description: S/MIME Cryptographic Signature


Re: How to disable Product

2009-02-18 Thread Kumaraswamy nandipati
Hi Abhishake,

Use sales Discontinuation date in edit product page, so it wont visible.

 OR

go to category tab, you can set thruDate to the categories which are not
required to display this product.

On Wed, Feb 18, 2009 at 1:29 PM, Abhishake Agarwal <
abhishake.agar...@gmail.com> wrote:

> Hi,
>
> I want to disable some product. I tried with putting past date in
> *supportDiscontinuationDate
> *and it was not working.
>  Please let me know the process.
>
> Regards,
> Abhishake
>



-- 
Thanks,
Kumaraswamy.N
91-9866805250.


Re: How to disable Product

2009-02-18 Thread Ashish Vijaywargiya

Hello Abhishake,

ProductCategoryMember entity will be your friend in this case.
All the category and associated product data in ecommerce is fetched 
with the help of this entity.


GUI link for reference :- 
https://localhost:8443/catalog/control/EditCategoryProducts?productCategoryId=101


I hope you will find the way from above comment.

--
Ashish

Abhishake Agarwal wrote:

Hi,

I want to disable some product. I tried with putting past date in
*supportDiscontinuationDate
*and it was not working.
 Please let me know the process.

Regards,
Abhishake

  


smime.p7s
Description: S/MIME Cryptographic Signature


How to disable Product

2009-02-17 Thread Abhishake Agarwal
Hi,

I want to disable some product. I tried with putting past date in
*supportDiscontinuationDate
*and it was not working.
 Please let me know the process.

Regards,
Abhishake