[jira] [Commented] (OFBIZ-12203) WebPos: Product price cannot be updated

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

[jira] [Commented] (OFBIZ-12203) WebPos: Product price cannot be updated

Nicolas Malin (Jira)

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

Amit Gadaley commented on OFBIZ-12203:
--------------------------------------

Thank You [~sa_james] for reporting it. I have debugged the issue and found that we are using the method 'getDisplayPrice()' [Class: ShoppingCartItem] to display item unit price and the method 'getDisplayItemSubTotal()' [Class: ShoppingCartItem] to display item total. These two methods use the display price of the item. And, while updating the price for an item from the POS application, we are only updating the base price of that item using the method 'modifyPrice' [Class: WebPosTransaction]. To fix the issue, I have updated the method 'modifyPrice' by adding logic to update the display price of the item as well.

> WebPos: Product price cannot be updated
> ---------------------------------------
>
>                 Key: OFBIZ-12203
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12203
>             Project: OFBiz
>          Issue Type: Bug
>          Components: webpos
>    Affects Versions: 17.12.06
>            Reporter: Woyce Batkins
>            Assignee: Amit Gadaley
>            Priority: Critical
>         Attachments: OFBIZ-12203.patch
>
>
> * Go to the WebPos application
>  * Search for a product
>  * Update the price with a new value
>  * The Update is not working



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