Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-9225

Editing quantity of configurable products changes actual product

    Details

      Description

      Create an order by adding any configurable product.
      Try to edit the quantity of configurable product.
      Actual product changes in cart

      Technical details:
      Quantity changes successfully but actual sellable product which is of "AGGREGATED_CONF" type changes with parent "AGGREGATED" type product.

      1. EditOrderQty.png
        80 kB
        Deepak Dixit
      2. Image 001.png
        46 kB
        Jacques Le Roux
      3. OFBIZ-9225.patch
        0.6 kB
        Suraj Khurana
      4. OFBIZ-9225.patch
        4 kB
        Suraj Khurana

        Activity

        Hide
        suraj.khurana Suraj Khurana added a comment -

        Attached patch with a proper fix for Trunk.

        Show
        suraj.khurana Suraj Khurana added a comment - Attached patch with a proper fix for Trunk.
        Hide
        suraj.khurana Suraj Khurana added a comment -

        While exploring more about this issue, found the root cause and here is the updated patch with the best optimal solution of this issue.

        Show
        suraj.khurana Suraj Khurana added a comment - While exploring more about this issue, found the root cause and here is the updated patch with the best optimal solution of this issue.
        Hide
        jacques.le.roux Jacques Le Roux added a comment -

        Hi Shuraj,

        This is interesting but please specify how you change the quantity

        Show
        jacques.le.roux Jacques Le Roux added a comment - Hi Shuraj, This is interesting but please specify how you change the quantity
        Hide
        deepak.dixit Deepak Dixit added a comment -

        Hi Jacques,

        We can edit order item quantity from View Order page.

        Show
        deepak.dixit Deepak Dixit added a comment - Hi Jacques, We can edit order item quantity from View Order page.
        Hide
        jacques.le.roux Jacques Le Roux added a comment -

        Thanks Deepak,

        I did not find how to, I assign you back

        Show
        jacques.le.roux Jacques Le Roux added a comment - Thanks Deepak, I did not find how to, I assign you back
        Hide
        deepak.dixit Deepak Dixit added a comment -

        Thanks Jacques,

        We can change order item quantity from edit order item page.
        https://ofbiz-vm2.apache.org:8443/ordermgr/control/editOrderItems?orderId=WSCO10003

        Show
        deepak.dixit Deepak Dixit added a comment - Thanks Jacques, We can change order item quantity from edit order item page. https://ofbiz-vm2.apache.org:8443/ordermgr/control/editOrderItems?orderId=WSCO10003
        Hide
        deepak.dixit Deepak Dixit added a comment -

        This has been committed at
        Framework Trunk at r#1791475
        Release16.11 at r#1791476
        Release15.12 at r#1791477
        Release14.12 at r#1791478

        Thanks Suraj Khurana for your contribution.

        Show
        deepak.dixit Deepak Dixit added a comment - This has been committed at Framework Trunk at r#1791475 Release16.11 at r#1791476 Release15.12 at r#1791477 Release14.12 at r#1791478 Thanks Suraj Khurana for your contribution.
        Hide
        jacques.le.roux Jacques Le Roux added a comment -

        Sorry Deepak,

        I tried that 1 hour ago, I see how to change price and ship group, but I don't find where to change the quantity :-o

        Show
        jacques.le.roux Jacques Le Roux added a comment - Sorry Deepak, I tried that 1 hour ago, I see how to change price and ship group, but I don't find where to change the quantity :-o
        Hide
        deepak.dixit Deepak Dixit added a comment -

        Attached screen shot for edit order qty.

        Show
        deepak.dixit Deepak Dixit added a comment - Attached screen shot for edit order qty.
        Hide
        jacques.le.roux Jacques Le Roux added a comment -

        Thanks Deepak,

        I supposed it was in the order view, it's clear now

        Show
        jacques.le.roux Jacques Le Roux added a comment - Thanks Deepak, I supposed it was in the order view, it's clear now
        Hide
        jacques.le.roux Jacques Le Roux added a comment -

        Mmm I must say it's not still quite clear to me, how do you get there from an order view?

        Show
        jacques.le.roux Jacques Le Roux added a comment - Mmm I must say it's not still quite clear to me, how do you get there from an order view?
        Hide
        deepak.dixit Deepak Dixit added a comment -

        We have EditItems button on Actions section on View Order page.

        Show
        deepak.dixit Deepak Dixit added a comment - We have EditItems button on Actions section on View Order page.
        Hide
        jacques.le.roux Jacques Le Roux added a comment -

        Yes of course but then?

        Show
        jacques.le.roux Jacques Le Roux added a comment - Yes of course but then?
        Hide
        jacques.le.roux Jacques Le Roux added a comment -

        Ah OK, I confused the ship group line and the quantity column :/ Maybe we could do a better UI and have the edit qty input field near the the ordered label
        What do you think?

        Show
        jacques.le.roux Jacques Le Roux added a comment - Ah OK, I confused the ship group line and the quantity column :/ Maybe we could do a better UI and have the edit qty input field near the the ordered label What do you think?
        Hide
        jacques.le.roux Jacques Le Roux added a comment -

        Also I dont' quite understand why you uploaded . How is it related with the issue at hand? Because it's used to create the configurable product?

        Show
        jacques.le.roux Jacques Le Roux added a comment - Also I dont' quite understand why you uploaded . How is it related with the issue at hand? Because it's used to create the configurable product?
        Hide
        jacques.le.roux Jacques Le Roux added a comment -

        Ha sorry I confused with another issue I guess. This is the image I was referring to

        Show
        jacques.le.roux Jacques Le Roux added a comment - Ha sorry I confused with another issue I guess. This is the image I was referring to
        Hide
        jacques.le.roux Jacques Le Roux added a comment -

        OK it's from OFBIZ-7522 my bad

        Show
        jacques.le.roux Jacques Le Roux added a comment - OK it's from OFBIZ-7522 my bad
        Hide
        jacques.le.roux Jacques Le Roux added a comment -

        To completly close this subject:

        I confused the ship group line and the quantity column :/ Maybe we could do a better UI and have the edit qty input field near the the ordered label

        Actually the quantity is by ship group and I even committed a way to dynamically edit the quantity by ship group with OFBIZ-5761

        So this is only missing a columns separation but I'd not try that with an FTL file and I have not the guts to change EditOrderItems.ftl into a widget form...

        Show
        jacques.le.roux Jacques Le Roux added a comment - To completly close this subject: I confused the ship group line and the quantity column :/ Maybe we could do a better UI and have the edit qty input field near the the ordered label Actually the quantity is by ship group and I even committed a way to dynamically edit the quantity by ship group with OFBIZ-5761 So this is only missing a columns separation but I'd not try that with an FTL file and I have not the guts to change EditOrderItems.ftl into a widget form...

          People

          • Assignee:
            deepak.dixit Deepak Dixit
            Reporter:
            suraj.khurana Suraj Khurana
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development