[ 
https://issues.apache.org/jira/browse/OFBIZ-2480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12712143#action_12712143
 ] 

David E. Jones commented on OFBIZ-2480:
---------------------------------------

I agree, we need this to be configurable and the default in the trunk should be 
that out of stock items ARE shown (which has been the default as far back as I 
can remember).

This should definitely go on the ProductStore, where it can be with similar 
inventory fields, like the requireInventory field which determines whether or 
not to allow an add-to-cart when an item is out of stock.

This should not go in a properties file... in fact we have a general direction 
in the project of moving business-level configurations (as opposed to 
technical-level ones) from properties files to the database and not the other 
way around.

> Item should not be shown if it is out of stock
> ----------------------------------------------
>
>                 Key: OFBIZ-2480
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2480
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: order, product
>    Affects Versions: SVN trunk
>            Reporter: Vivek Mishra
>            Assignee: Vikas Mayur
>             Fix For: SVN trunk
>
>         Attachments: ItemShouldNotBeShown_OFBIZ-2480.patch, 
> ItemShouldNotBeShown_OFBIZ-2480.patch
>
>
> Item should not be shown if it is out of stock.
> Usually pages which shows multiple products do not perform inventory check.
> Add a service which will run timely and perform the check for the status of 
> the product availability in inventory and set the flag in product entity 
> accordingly.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to