[ https://issues.apache.org/jira/browse/OFBIZ-2480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12712050#action_12712050 ]
Pranay Pandey commented on OFBIZ-2480: -------------------------------------- Thanks Scott for this great suggestion. I agree this functionality should be configurable somewhere(Probably a field in ProductStore entity by name "showOutOfStockProducts" or we can use any other existing field like: checkInventory but in this case we need to check that it doesn't affect other business logics) so that can be changed as per the requirement. We should not force it. Service will go and check first the property if it is set to "Y" then do otherwise not. WDYT? > 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.