You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Anil K Patel (JIRA)" <ji...@apache.org> on 2013/01/10 00:56:13 UTC

[jira] [Comment Edited] (OFBIZ-5123) calculateProductPrice doesn't return the Price from Virtual Product Price rule if the variant doesn't have any price rule

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

Anil K Patel edited comment on OFBIZ-5123 at 1/9/13 11:54 PM:
--------------------------------------------------------------

Praveen,
The current behavior of service is by design. What you are asking to do is change and not bug fix. May be you should rethink your price rule design and management.

                
      was (Author: anilpatel):
    Praveen,
The current behavior of service by design. What you are asking to do is change and not bug fix. May be you should rethink your price rule design and management.

                  
> calculateProductPrice doesn't return the Price from Virtual Product Price rule if the variant doesn't have any price rule
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-5123
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5123
>             Project: OFBiz
>          Issue Type: Bug
>          Components: product
>    Affects Versions: Release 10.04
>            Reporter: Praveen Agrawal
>            Assignee: Anil K Patel
>         Attachments: OFBiz-5123.patch
>
>
> If we have a Virtual Product with defined Price rule and some of the variants of that virtual product doesn't have the price rule defined then the 'calculateProductPrice' Service returns the Simple(Sale/List) price of that varaint, while it should return the price from Virtual Product Price rule.
> For Ex:-
> Virtual ProductA:-
> Default Price:  $100
> Price Rule:-
> From Qty          To Qty         Price
> 1                 10              $100
> 11                15              $85
> Variant ProductB:-
> Default Price : $90
> No Price Rule Defined.
> Now if we calculate product price for Variant ProductB then the service calculateProductPrice return the price $90 while it should return the Price $100 from virtual product Price rule.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira