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

Order Plugin: Allow restricted packages to be ordered if an authenticated user has access via set packages

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.1
    • Fix Version/s: 4.3.0-b1
    • Component/s: Plugins
    • Labels:
      None

      Description

      In the Order interface:

      1. On the Order homepage (/order/forms/) a list of available order forms are shown
        • Ensure that order forms containing only restricted packages are shown if the client has any of those packages set in his profile
      2. On the order form package page (/order/main/index/{order form name}/ or /order/main/packages/{order form name}/?group_id={package group ID})
        • Ensure that the order form lists restricted packages if the client has any of those packages set in his profile
      3. Ensure that restricted packages are orderable by any client that is assigned them
        • They should be able to checkout on any order form
        • The client must be logged-in in order to see restricted packages in order forms

      Currently, it's impossible to order restricted packages as a client. Clients should be able to see and order restricted packages, if..

      1. They are logged in, and..
      2. They have the packages set under Set Packages, and..
      3. The packages are assigned to the order form.

        Activity

        Hide
        tyson Tyson Phillips (Inactive) added a comment -

        Currently, it's impossible to order restricted packages as a client. Clients should be able to see and order restricted packages, if..

        What do you mean packages can't be ordered as a client? Can you show an example?

        Show
        tyson Tyson Phillips (Inactive) added a comment - Currently, it's impossible to order restricted packages as a client. Clients should be able to see and order restricted packages, if.. What do you mean packages can't be ordered as a client? Can you show an example?
        Hide
        admin Paul Phillips added a comment -

        What do you mean packages can't be ordered as a client? Can you show an example?

        If the Package status is "Restricted", it cannot be ordered, even if it belongs to a Package Group assigned to the order form. The purpose of Restricted packages originally was to allow clients who have this Package enabled (Actions > Set Packages under Client Profile) to order it while others cannot.

        This task simply completes this feature by allowing clients who have a Restricted Package set under Set Packages to order it through the order form. Restricted Packages cannot currently be ordered at all, regardless of whether the client has permission to them.

        Show
        admin Paul Phillips added a comment - What do you mean packages can't be ordered as a client? Can you show an example? If the Package status is "Restricted", it cannot be ordered, even if it belongs to a Package Group assigned to the order form. The purpose of Restricted packages originally was to allow clients who have this Package enabled (Actions > Set Packages under Client Profile) to order it while others cannot. This task simply completes this feature by allowing clients who have a Restricted Package set under Set Packages to order it through the order form. Restricted Packages cannot currently be ordered at all, regardless of whether the client has permission to them.

          People

          • Assignee:
            jonathan Jonathan Reissmueller
            Reporter:
            admin Paul Phillips
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              15/Jun/18

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 4 hours, 6 minutes
              4h 6m

                Agile