[jira] [Commented] (OFBIZ-5437) Add ability to select BOM virtual component features when adding item to cart

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

[jira] [Commented] (OFBIZ-5437) Add ability to select BOM virtual component features when adding item to cart

Nicolas Malin (Jira)

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

Christian Carlow commented on OFBIZ-5437:
-----------------------------------------

Currently when an item containing BOM elements is added to a cart, the default price of that product is used.  But if the BOM elements contain selectable features then the prices of them should be included in the price of the item being added.

This complicates how assembled products should store pricing information.  Currently, GZ-BASKET has a default price of $150 associated with it which is used as the order item price when added to the cart.  But if the BOM components GZ-1000, GZ-1001, and GZ-1004 were stored as virtual products with differently priced color features available, then the selected color prices would need to be multiplied by the BOM quantityMultiplier and added the total item price.

I intended OFBIZ-5420 to be a store options.  Therefore when disabled, I think the default price of the assembled item should be used as the base price and the BOM selected feature prices should be added to it.  But if the "BOM pricing" store option is enabled then the default price of each BOM element together with it's selected feature prices needs to be used to make up the BOM item total price, and the sum of the BOM total prices should be used to make up the total cart item price.  To handle the pricing functionality when "BOM pricing" is enabled, separate prices need to be added to the product with productPricePurposeId=COMPONENT_PRICE.




> Add ability to select BOM virtual component features when adding item to cart
> -----------------------------------------------------------------------------
>
>                 Key: OFBIZ-5437
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5437
>             Project: OFBiz
>          Issue Type: Improvement
>    Affects Versions: SVN trunk
>            Reporter: Christian Carlow
>
> OFBiz should be improved to support feature selections of virtual BOM components of items added to a cart.
> If a virtual basket GZ-OUTER-BASKET is created to contain 3 virtual baskets GZ-INNER-BASKET (each containing the contents of GZ-BASKET) and both products have color variant features, only the features for the top-most product are available for selection.  The form should be changed to provide selections for all virtual BOM coponents.
> This complicates the default pricing for BOM items described in OFBIZ-5420.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)