Zen Cart Logo
Forums / General Questions / If price zero do disable product

If price zero do disable product

Locked

Views: 1,189

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
22 Aug 2006, 8:15 AM
#1
pvdheijden avatar

pvdheijden

New Zenner

Join Date:
Apr 2006
Posts:
9
Plugin Contributions:
0

If price zero do disable product

Is it possible to do this.

If a price is zero (0.00) than automaticly disable the product in the admin.

grtz.
Pim

22 Aug 2006, 4:47 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: If price zero do disable product

Can you expand on this a bit?

What do you want disabled?

Set products_status = 0

Or, show the Product as Free vs $0.00 in the catalog?

23 Aug 2006, 6:00 AM
#3
pvdheijden avatar

pvdheijden

New Zenner

Join Date:
Apr 2006
Posts:
9
Plugin Contributions:
0

Re: If price zero do disable product

indeed product = 0 (red button)

easypopulate update's the price's
product a (price = 0)
then turn off product a (red button)

But then automaticly.

At this time, i have to disable all 0.00 price with a mouse click on the red button.

23 Aug 2006, 6:15 AM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: If price zero do disable product

Can you expand on the reason that you are loading products that have a "0" price when you want them disabled?

Or...Why not just omit loading these products?

24 Aug 2006, 6:28 AM
#5
pvdheijden avatar

pvdheijden

New Zenner

Join Date:
Apr 2006
Posts:
9
Plugin Contributions:
0

Re: If price zero do disable product

I have a list of 26000 products.
if a product is end of life, it get from the vendor the 0.00 price status.