[jira] Created: (OFBIZ-2480) Item should not be shown if it is out of stock

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
20 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (OFBIZ-2480) Item should not be shown if it is out of stock

Nicolas Malin (Jira)
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
             Fix For: SVN trunk


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 | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-2480) Item should not be shown if it is out of stock

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-2480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amit Sharma updated OFBIZ-2480:
-------------------------------

    Attachment: ItemShouldNotBeShown_OFBIZ-2480.patch

Hello Vivek,

I am uploading patch for functionality to Item should not be shown if it is out of stock in product component.

Here are the steps for testing.

1) Purchase the item GZ-2644 (Round Gizmo) , Currently its ATP is 505 and showing on Promotion category (main page).
2) Complete the order (Completed Status).
3) If product GZ-2644 is out of stock.
6) Product GZ-2644 (Round Gizmo) will not be showing on Ecommerce landing page after one hour.

Amit Sharma


> 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
>             Fix For: SVN trunk
>
>         Attachments: 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 | Threaded
Open this post in threaded view
|

[jira] Assigned: (OFBIZ-2480) Item should not be shown if it is out of stock

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-2480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vikas Mayur reassigned OFBIZ-2480:
----------------------------------

    Assignee: Vikas Mayur

> 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
>
>
> 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 | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2480) Item should not be shown if it is out of stock

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Scott Gray commented on OFBIZ-2480:
-----------------------------------

It would be great if this were configurable somehow, so that in the future it wouldn't get in the way of a feature such as "Notify when this product becomes available" for out of stock items (maybe we already have it? I haven't checked).  It was only a few weeks ago I read in a forum of how someone's sales increased dramatically every time new stock arrived because of a feature like that.

> 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
>
>
> 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 | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-2480) Item should not be shown if it is out of stock

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-2480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vikas Mayur updated OFBIZ-2480:
-------------------------------

    Attachment: ItemShouldNotBeShown_OFBIZ-2480.patch

Hi Amit, Vivek,

I did following changes in the patch.

1) Implemented the service in Minilang and not in Java. Also improved the service.
2) Few mods to the groovy, just used groovy features.

It would be nice if you could test and possibly fix any issues that come because of my changes.

Thanks,
Vikas

> 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 | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2480) Item should not be shown if it is out of stock

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Amit Sharma commented on OFBIZ-2480:
------------------------------------

Thanks Vikas,

I will test it and let u know.

--Amit

> 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 | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2480) Item should not be shown if it is out of stock

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ 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.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2480) Item should not be shown if it is out of stock

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Scott Gray commented on OFBIZ-2480:
-----------------------------------

Hi Pranay,
Yes I think a new field on ProductStore would do the trick.  I have no opinion on whether the default should be to show or hide out of stock items, so unless anyone else does I would say do whatever you think is appropriate :-)

> 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 | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2480) Item should not be shown if it is out of stock

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Jacques Le Roux commented on OFBIZ-2480:
----------------------------------------

For the default, we could have a properties somewhere, maybe catalog.properties...

> 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 | Threaded
Open this post in threaded view
|

[jira] Closed: (OFBIZ-2480) Item should not be shown if it is out of stock

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-2480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vikas Mayur closed OFBIZ-2480.
------------------------------

    Resolution: Fixed

Thanks Amit and others.

Modified version of your patch is in trunk rev. 777498.

Vikas

> 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 | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2480) Item should not be shown if it is out of stock

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Vikas Mayur commented on OFBIZ-2480:
------------------------------------

Pranay, Scott, Jacques,

Thanks for your interest in this feature. I would say open a new jira issue with the discussion on how to make this feature configurable.

Thanks,
Vikas

> 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 | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2480) Item should not be shown if it is out of stock

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Scott Gray commented on OFBIZ-2480:
-----------------------------------

That's true Jacques we could do that, but are ProductStores created often enough that it would be useful?  Also I don't think any of the many other configuration fields on ProductStore follow a pattern like that.  It might be handy if defaults were configurable for some large organization that was creating ProductStores regularly but I think we're safe to wait for them to come along and contribute such a thing :-)

> 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 | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2480) Item should not be shown if it is out of stock

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Amit Sharma commented on OFBIZ-2480:
------------------------------------

Thanks Vikas for the improvements.

-Amit

> 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 | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2480) Item should not be shown if it is out of stock

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Scott Gray commented on OFBIZ-2480:
-----------------------------------

Vikas,

I appreciate your desire to push ahead with this and get it committed but in your opinion is it okay that the default behavior just changed (in possibly an undesirable way) for everyone who uses ecommerce in OFBiz?  I'm not going to push on it but I think we need to take these kind of things into account before changing the system's behavior.

Regards
Scott

> 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 | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2480) Item should not be shown if it is out of stock

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ 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 | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2480) Item should not be shown if it is out of stock

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Vikas Mayur commented on OFBIZ-2480:
------------------------------------

Scott, By doing a commit it does not means that I overlooked your and other people comments. I realized this thing even before I started reviewing this patch but certainly I kept this for improvement in succession.

It might not be good choice to commit this patch in such circumstances so I have reverted my commit in rev. 777651 until we figure out a best way to implement this.


> 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 | Threaded
Open this post in threaded view
|

[jira] Reopened: (OFBIZ-2480) Item should not be shown if it is out of stock

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-2480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vikas Mayur reopened OFBIZ-2480:
--------------------------------


> 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 | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-2480) Item should not be shown if it is out of stock

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-2480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ratnesh Upadhyay updated OFBIZ-2480:
------------------------------------

    Attachment: ItemShouldNotBeShown_OFBIZ-2480.patch

Upload updated patch as per the discussion. Thanks to all of you for your valuable views.

> 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, 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 | Threaded
Open this post in threaded view
|

[jira] Closed: (OFBIZ-2480) Item should not be shown if it is out of stock

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-2480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vikas Mayur closed OFBIZ-2480.
------------------------------

    Resolution: Fixed

Thanks Ratnesh and others,

Patch is in trunk rev. 778451 with slight modifications to the comments/description.

Vikas

> 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, 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 | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2480) Item should not be shown if it is out of stock

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Vikas Mayur commented on OFBIZ-2480:
------------------------------------

Special thanks to Jacopo for coming up with the idea of new field lastInventoryCount on ProductFacility entity (discussed off the list).

> 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, 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.