If this is your first visit, check our documentation. To post, register or login.
Forums / Zen Cart Code Suggestions / "in stock/out of stock" should be "enabled/disabled"?

"in stock/out of stock" should be "enabled/disabled"?

Started by torvista on 7 Jan 2015, 12:31 PM · Views: 175

Results 1 to 11 of 11
7 Jan 2015, 12:31 PM
#1
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,880
Plugin Contributions:
7

"in stock/out of stock" should be "enabled/disabled"?

In the Admin product details page

Products Status: In Stock Out of Stock

seems confusing, should this not be labelled Enabled - Disabled?

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

7 Jan 2015, 6:11 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: "in stock/out of stock" should be "enabled/disabled"?

Maybe. Maybe not.

The meaning could vary depending on whether the storeowner also has the store configured to automatically disable a product if it goes out of stock.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

7 Jan 2015, 9:31 PM
#3
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,880
Plugin Contributions:
7

Re: "in stock/out of stock" should be "enabled/disabled"?

...I'm afraid I don't see why it may vary. This option disables/enables the product, it does not do anything stock-related.

Whether another option makes a product auto-disable when the stock level drops below a threshold doesn't change the function or intent of this option...in my view. It's a simple on-off button as far as I can see.

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

8 Jan 2015, 5:41 AM
#4
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,904
Plugin Contributions:
23

Re: "in stock/out of stock" should be "enabled/disabled"?

Maybe it's just whether you think of it as a programmer or shop owner.
The programmer is always thinking with the binary mind.
However, the shop owner is thinking, "Do I have any of these widgets in stock or will they be coming in next month?"
IMHO, enabling/disabling is a listing determination while in stock (or out of stock) is an inventory determination.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

8 Jan 2015, 9:34 PM
#5
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,816
Plugin Contributions:
4

Re: "in stock/out of stock" should be "enabled/disabled"?

As Zen Cart is open source, it can be modified to fit different needs for different stores. As such the "In Stock / Out of Stock" can mean different things in different stores (and with different store configurations).

Typically I have seen:
"In Stock / Out of Stock" indicates if the product is currently stocked. It may also be used by a store to disallow purchase.
"Disabled" can be used to indicates the product is not displayed. It may also be used to indicate a product is discontinued. It may also be used to disallow purchase.

For example, I have one client who uses "In Stock" to indicate if the product is currently present at their main warehouse. When a product is "Out of Stock" it ships from Vendor and / or Manufacturer (and the low stock email notification is used to order more product for the main warehouse). Customers are allowed to purchase items with the understanding the product will be "Back Ordered" and an additional amount of time will be needed to process the order. The template handles conveying the information to customers based upon the "In Stock / Out of Stock" setting on the product. Products are only disabled on this store when the products are no longer available (or the back order time would exceed a certain threshold). If no longer available, a note is added to the description along with a link to the "new" or "replacement" product when one exists.

The glass is not half full. The glass is not half empty. The glass is simply too big!
Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

8 Jan 2015, 10:40 PM
#6
jimmie avatar

jimmie

Totally Zenned

Join Date:
Jan 2013
Location:
New Port Richey, Florida
Posts:
971
Plugin Contributions:
0

Re: "in stock/out of stock" should be "enabled/disabled"?

lhungil:

As Zen Cart is open source, it can be modified to fit different needs for different stores. As such the "In Stock / Out of Stock" can mean different things in different stores (and with different store configurations).

Typically I have seen:
"In Stock / Out of Stock" indicates if the product is currently stocked. It may also be used by a store to disallow purchase.
"Disabled" can be used to indicates the product is not displayed. It may also be used to indicate a product is discontinued. It may also be used to disallow purchase.

For example, I have one client who uses "In Stock" to indicate if the product is currently present at their main warehouse. When a product is "Out of Stock" it ships from Vendor and / or Manufacturer (and the low stock email notification is used to order more product for the main warehouse). Customers are allowed to purchase items with the understanding the product will be "Back Ordered" and an additional amount of time will be needed to process the order. The template handles conveying the information to customers based upon the "In Stock / Out of Stock" setting on the product. Products are only disabled on this store when the products are no longer available (or the back order time would exceed a certain threshold). If no longer available, a note is added to the description along with a link to the "new" or "replacement" product when one exists.

how does he handle shipping when it displays: when in-stock and out of stock are in cart does
A. he ship stock from his warehouse and from manufacturer/vendor (customer gets two trucks)
B. he waits until non-stock arrives to his warehouse and than ships (customer gets 1 truck)

9 Jan 2015, 12:03 AM
#7
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,880
Plugin Contributions:
7

Re: "in stock/out of stock" should be "enabled/disabled"?

@lhungil

Thanks for the detailed response, it seems I have a simple set-up in my shop.
Other business work-flows using ZC are always of interest!

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

9 Jan 2015, 2:27 AM
#8
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: "in stock/out of stock" should be "enabled/disabled"?

While the discussion of variations in operational procedures is interesting (and probably not on-topic here..), I don't think this was Torvista's point in raising this.. To Torvista's ORIGINAL point this is about consistency in the UI, and making sure that the on-screen labels MATCH the actual resulting action. How different shopowners use a particular function or what their operational procedures MIGHT be is not important..

Here's the REAL question that needs to be addressed:
What happens when you click the "Out of Stock" radio button when editing a product?? This is not an OPERATIONAL question.. this is a what does the SOFTWARE DO question..

Does the action of clicking this radio button inactivate the product AND reduce the inventory to a quantity of "0"? (ie OUT OF STOCK)
**
OR **

Does the action of clicking this radio button simply DISABLE this product?? (ie: making it unavailable for purchase regardless as to whether there is still a quantity in inventory)??

=============================================================

IMHO there is inconsistency in the current UI with regards to the product disable functionality.. In the current UI the on-screen LABELs do NOT match the actual action that is executed and are labeled inconsistently in the UI..

From the product list view, if you hover over the "Status" icon for any product the icon's alt tag shows "Status-Disabled" or "Status - Enabled". On the product edit view, the product's status is either "In Stock" or "Out of Stock". When "Out of Stock" is selected there is an on-screen note that let's you know the product has been disabled. This is inconsistent since it is not OBVIOUS that "In Stock" or "Out of Stock" is supposed to be the SAME as "Status-Disabled" or "Status - Enabled".

Clicking on the "Out of Stock" radio simply disables the product.. NOTHING about this action has ANYTHING to do with inventory management since one can disable a product that HAS stock available, and one can also set the number of available products to ZERO and the product is not AUTOMATICALLY inactivated either.

Now that said, yes Zen Cart does have functionality so that one can have products automatically be disabled if the quantity in stock is depleted. However even this function simply DISABLES the product, and it is triggered from sales activity.. Inventory management is still separate, and adding inventory to a product does NOT automatically re-enable the product, one must explicitly re-enable the product..

I think Torvista is absolutely on point here.. the UI labels do not match the actual functionality... They NEVER have IMHO.. It's a question I often have to explain to my clients..

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

9 Jan 2015, 5:57 AM
#9
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,816
Plugin Contributions:
4

Re: "in stock/out of stock" should be "enabled/disabled"?

DivaVocals:

... I think Torvista is absolutely on point here.. the UI labels do not match the actual functionality... They NEVER have IMHO.. It's a question I often have to explain to my clients..
:blush: Sorry Torvista, upon further review of a "clean" install you are definitely onto something. The functionality of the option does directly manipulate "products_status" in the database. For consistency, changing to "enable/disable" or perhaps a checkbox sounds like a great idea. Thank You for pulling me back on track DivaVocals!

The glass is not half full. The glass is not half empty. The glass is simply too big!
Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

9 Jan 2015, 7:15 PM
#10
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: "in stock/out of stock" should be "enabled/disabled"?

lhungil:

:blush: Sorry Torvista, upon further review of a "clean" install you are definitely onto something. The functionality of the option does directly manipulate "products_status" in the database. For consistency, changing to "enable/disable" or perhaps a checkbox sounds like a great idea. Thank You for pulling me back on track DivaVocals!

Well you weren't the ONLY one! :laugh:

Truthfully ALL of you guys (except Torvista perhaps) were "thinking like developers/programmers", and not looking at this from the usability POV..

Bottomline, the software's action doesn't match the on-screen label.. PERIOD.. :smile:

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

8 May 2016, 7:34 AM
#11
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,880
Plugin Contributions:
7

Re: "in stock/out of stock" should be "enabled/disabled"?

Still remains the same in 155a...:blink:

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...