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

Adam Heath updated OFBIZ-3634:
------------------------------

    Attachment: PROMO_GWP_inventory_check.patch

> ProductPromoWorker PROMO_GWP hard-codes a required inventory check
> ------------------------------------------------------------------
>
>                 Key: OFBIZ-3634
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3634
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>            Reporter: Adam Heath
>         Attachments: PROMO_GWP_inventory_check.patch
>
>
> PROMO_GWP processing always requires the gifted item to have available 
> inventory.  There is no way to have that configurable, no way to have the 
> free item get backordered.
> The attached patch removes the inventory check on *real* products, and 
> instead created a new condition, PPIP_PRODUCT_INV, so that *any* promo can 
> pass/fail based on an inventory check.
> I did not commit this patch, because the full fix would need to handle 
> virtual products as well.  I don't understand how PROMO_GWP works with 
> virtual products when doing inventory, so I need help with that.

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