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

Price of product does not shows up when you change currency of your store and setup product prices with new currency

    Details

    • Sprint:
      Community Day 2 - 2015

      Description

      When you set up Product store in OFBiz with default currency other than USA, and then set up ProductPrice records with that currency, then Product prices does not shows up any where.

      For example, you changed default currency of ProductStore to CAD (Canadian dollar) and then you set up Product prices for Canadian dollars then price of those products are not shown in product and category detail pages in E-commerce site.

      Product prices are also not shown in order manager when you browse products to add them into the cart.

        Activity

        Hide
        diveshdut Divesh Dutta added a comment -

        Fix is committed in trunk in revision number: 1686566

        13.07 branch: 1686600

        14.12 branch: 1686566

        Show
        diveshdut Divesh Dutta added a comment - Fix is committed in trunk in revision number: 1686566 13.07 branch: 1686600 14.12 branch: 1686566
        Hide
        jacques.le.roux Jacques Le Roux added a comment -

        Backported in R12.04 at r1693689
        Replaced trunk by upcoming branch in "Fix Version/s" field

        Show
        jacques.le.roux Jacques Le Roux added a comment - Backported in R12.04 at r1693689 Replaced trunk by upcoming branch in "Fix Version/s" field
        Hide
        pfm.smits Pierre Smits added a comment -

        Actually, when the currency is not set up in the store, it should use the currency of the associated owning entity (company).

        Show
        pfm.smits Pierre Smits added a comment - Actually, when the currency is not set up in the store, it should use the currency of the associated owning entity (company).
        Hide
        jacques.le.roux Jacques Le Roux added a comment - - edited

        That's interesting Pierre, but if I'm not wrong, in this case, apart if an agreementId has been passed, we have no ways to know the product owner in calculateProductPrice where only the buyer partyId might be passed. So we would need to pass the owner party, maybe easier to pass the currencyUomId?

        Show
        jacques.le.roux Jacques Le Roux added a comment - - edited That's interesting Pierre, but if I'm not wrong, in this case, apart if an agreementId has been passed, we have no ways to know the product owner in calculateProductPrice where only the buyer partyId might be passed. So we would need to pass the owner party, maybe easier to pass the currencyUomId?
        Hide
        pfm.smits Pierre Smits added a comment -

        The currencyUomid of which party entity? Remember without proper setup of the default organisation (as in demo Company is) nothing works properly.

        Show
        pfm.smits Pierre Smits added a comment - The currencyUomid of which party entity? Remember without proper setup of the default organisation (as in demo Company is) nothing works properly.
        Hide
        jacques.le.roux Jacques Le Roux added a comment -

        Then you need to properly setup the default organisation

        Show
        jacques.le.roux Jacques Le Roux added a comment - Then you need to properly setup the default organisation

          People

          • Assignee:
            diveshdut Divesh Dutta
            Reporter:
            diveshdut Divesh Dutta
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development

                Agile