Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / product goes offline when zero

product goes offline when zero

Locked

Views: 1,737

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
3 Aug 2006, 12:50 AM
#1
athena avatar

athena

Totally Zenned

Join Date:
Jan 2006
Location:
NM
Posts:
740
Plugin Contributions:
0

product goes offline when zero

Am I correct in understanding that when you have the default settings for the products as such:

Product Qty Minimum: 1
Product Qty Maximum: 0
Product Qty Units: 1
Product Qty Min/Unit Mix: No

ZenCart's default behavior is to take the product offline when someone buys the last one?

To keep it showing with "out of stock" button:
Is the remedy then to set the minimum qty to zero like this:

Product Qty Minimum: 0
Product Qty Maximum: 0
Product Qty Units: 0
Product Qty Min/Unit Mix: No

3 Aug 2006, 3:35 AM
#2
ajeh avatar

ajeh

Oba-san

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

Re: product goes offline when zero

No ...

When you have your Configuration ... Stock ... set to set the Products Status to 0 or OFF ... then it goes away ...

Set that to leave the Status to 1 or ON and show the Sold out ... then it won't go away ... :smile:

Note: these have nothing to do with In Stock or Out of Stock ...
Minimim = lowest qty you sell per order
Maximum = highest qty you sell per order
Units = number of units to buy in ... example 2 means

Quantity 2, 4, 6, 8 etc.

4 Aug 2006, 12:53 PM
#3
athena avatar

athena

Totally Zenned

Join Date:
Jan 2006
Location:
NM
Posts:
740
Plugin Contributions:
0

Re: product goes offline when zero

Thanks Ajeh...forgot about that place....

Another thing happening:

by ordering four when only 2 are in stock it implies that all are backordered.

4 Aug 2006, 1:04 PM
#4
ajeh avatar

ajeh

Oba-san

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

Re: product goes offline when zero

If you do not want people to order more than is in stock ... turn off the ability in the Configuration ... Stock ... settings ...

4 Aug 2006, 1:33 PM
#5
athena avatar

athena

Totally Zenned

Join Date:
Jan 2006
Location:
NM
Posts:
740
Plugin Contributions:
0

Re: product goes offline when zero

I can accomodate backorders pretty easily in most cases so I would like it to say:

4 in cart, 2 on back order...or create an option so they can check off if they want it that way.

Would this require some core code modifications?

5 Aug 2006, 5:49 PM
#6
ajeh avatar

ajeh

Oba-san

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

Re: product goes offline when zero

You would need to customize the code to do this ...

Currently, a standard message is displayed when the quantity being ordered is greater than what is in stock ...

You would need to make this more specific ...

It is not difficult to do, you just need to work through the code to do it ... :smile:

5 Aug 2006, 9:49 PM
#7
athena avatar

athena

Totally Zenned

Join Date:
Jan 2006
Location:
NM
Posts:
740
Plugin Contributions:
0

Re: product goes offline when zero

Thanks Ajeh.

I can see some complications with this option if two people are filling their cart at the same time. Once someone gets to the checkout the other cart would show all backordered. Will think on this and monitor such things as we go.