You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Mridul Pathak (JIRA)" <ji...@apache.org> on 2014/10/18 15:49:33 UTC

[jira] [Commented] (OFBIZ-5438) Virtual feature selection and selected variant price inconsistencies

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

Mridul Pathak commented on OFBIZ-5438:
--------------------------------------

The product WG-9944 is an OOTB example of a feature explosion. The variants are created dynamically during sales order entry workflow. When a new variant is being created, if there is feature price associated with the selected features the variant price is calculated by adding virtual product price and feature price(s).
On the other hand as mentioned in the description when virtual product default price or the feature price is updated the change is not reflected in variant product price.

I agree that we could have additional logic to handle this. A batch service that updates the variant product prices on update in virtual product price or feature price (only if feature price exist) could be implemented. Though it seems more like a missing functionality rather than a bug. I think that we should probably change the issue type to improvement.

> Virtual feature selection and selected variant price inconsistencies
> --------------------------------------------------------------------
>
>                 Key: OFBIZ-5438
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5438
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>            Reporter: Christian Carlow
>            Assignee: Ashish Vijaywargiya
>
> To reproduce this issue:
> 1.  Create a sales order for DemoCustCompany
> 2.  Add WG-9944 to the cart
> 3.  Select Black (notice +$4.30) and 4-Wheels and click "Add to Cart"
> 4.  Click the check mark for the WG-9944 variant item that was added to the cart and then click the "Remove Selected" button
> 5.  Navigate to the WG-9944 product features page
> 6.  Click feature 9000 to edit the Black Color feature
> 7.  Update the feature price from 4.3 to 1.3
> 8.  Add WG-9944 to the cart again by selecting the Black (notice now +$1.30) and 4-Wheel feature options
> After step 9, notice that the item price is actually calculated using the previous feature default price value even though the new feature price is listed with the option.  
> A similar problem occurs if the virtual product default price is changed.  The feature selection page shows the updated virtual product price but once the features are selected, the default price of the variant product which was set when the variant was initially created is still set to the previous default price that existed before the variant default price was changed.
> Maybe some logic should exist to check that the selected features prices add up to the variant default price value and if they do not, then the previous variant default price thruDate should be set and a new default price consistent with the feature price sum created.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)