Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-1345

Order: Error shown for packages not defined in the selected currency

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2.1
    • Fix Version/s: 3.3.0-b1, 3.3.0
    • Component/s: Plugins
    • Labels:
      None

      Description

      When using the order form to order a package, if you:

      1. Have the currency setting "Use Package Pricing for New Services Only" checked,
      2. And a currency available on the order form that is NOT defined for the package

      then you will receive an error regarding the use of a property on a non-object when you select the undefined currency.

      This issue is related to the use of $lowest_price in the Wizard and Ajax templates.

      AJAX, main_package.pdt - lines 71, 115, 157, 177
      Wizard, main_package.pdt - lines 126, 187, 191, 211

      This needs to be updated under CORE-1311 in v3.3 as well.

        Activity

        Hide
        tyson Tyson Phillips (Inactive) added a comment -

        Errors have been fixed.

        Setting a currency on the order form that is not available in the package when the "Use Package Pricing for New Services Only" setting is checked will cause the packages that don't support those currencies to be displayed blank, and they cannot be ordered with that currency.

        Show
        tyson Tyson Phillips (Inactive) added a comment - Errors have been fixed. Setting a currency on the order form that is not available in the package when the "Use Package Pricing for New Services Only" setting is checked will cause the packages that don't support those currencies to be displayed blank, and they cannot be ordered with that currency.

          People

          • Assignee:
            tyson Tyson Phillips (Inactive)
            Reporter:
            tyson Tyson Phillips (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              27/Aug/14