Ingo Wolfmayr created OFBIZ-12266:
-------------------------------------

             Summary: Add obsolesence product/s on addToCart
                 Key: OFBIZ-12266
                 URL: https://issues.apache.org/jira/browse/OFBIZ-12266
             Project: OFBiz
          Issue Type: Improvement
    Affects Versions: Trunk
            Reporter: Ingo Wolfmayr
         Attachments: obsolecence.patch

If a product is "replaced" via obsolescence it would be handy if the product is 
automatically replaced and added by Ofbiz when adding to cart.

I attached a patch provides this feature. It is configurable in the 
productStore settings.

If a product has one or multiple PRODUCT_ASSOC with PRODUCT_ASSOC_TYPE_ID = 
PRODUCT_OBSOLESCENCE the addToCart function adds the replaced product(s) to the 
cart - ignoring the original productId.

Example use case: customer buys spareparts via entering productId on quick add 
form.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to