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

Allow client limits to be set for Packages

    Details

      Description

      Often times staff may want to offer a package to a client in a limited quantity. For example, client can only have 1 service of a particular package.

      Under Packages, when creating or editing a package add a new option in the Basic section, probably under "Quantity Available" called:

      Client Limit
      Unlimited ( ) __________

      By default, clients can order an unlimited number of these packages, or the package could be set to a specific value. If the client has reached their limit, the behavior would be similar to an out of quantity, the client would not be allowed to purchase.

      On the order form, it won't be possible to know if the client has reached their limit until they are authenticated. So, if logged in, don't allow them to add to cart at all, disable the button. If they add to cart and log in, we must present an error and not allow them to checkout unless/until they remove the item from their cart.

        Issue Links

          Activity

          admin Paul Phillips created issue -
          admin Paul Phillips made changes -
          Field Original Value New Value
          Rank Ranked higher
          admin Paul Phillips made changes -
          Rank Ranked higher
          admin Paul Phillips made changes -
          Rank Ranked lower
          admin Paul Phillips made changes -
          Rank Ranked higher
          tyson Tyson Phillips (Inactive) made changes -
          Link This issue is duplicated by CORE-3380 [ CORE-3380 ]
          tyson Tyson Phillips (Inactive) made changes -
          Rank Ranked higher
          tyson Tyson Phillips (Inactive) made changes -
          Issue Type New Feature [ 2 ] Story [ 7 ]
          tyson Tyson Phillips (Inactive) made changes -
          Fix Version/s 4.9.0-b1 [ 11301 ]
          Fix Version/s Short Term [ 10800 ]
          tyson Tyson Phillips (Inactive) made changes -
          Story Points 8
          tyson Tyson Phillips (Inactive) made changes -
          Sprint 4.9.0 Sprint 6 [ 104 ]
          tyson Tyson Phillips (Inactive) made changes -
          Rank Ranked higher
          jonathan Jonathan Reissmueller made changes -
          Assignee Jonathan Reissmueller [ jonathan ]
          Automated transition triggered when Jonathan Reissmueller created a branch in Stash -
          Status Open [ 1 ] In Progress [ 3 ]
          jonathan Jonathan Reissmueller made changes -
          Remaining Estimate 0 minutes [ 0 ]
          Time Spent 26 minutes [ 1560 ]
          Worklog Id 13311 [ 13311 ]
          Automated transition triggered when Jonathan Reissmueller created pull request #817 in Stash -
          Status In Progress [ 3 ] In Review [ 5 ]
          Resolution Fixed [ 1 ]
          jonathan Jonathan Reissmueller made changes -
          Time Spent 26 minutes [ 1560 ] 2 hours [ 7200 ]
          Worklog Id 13330 [ 13330 ]
          Automated transition triggered when Tyson Phillips (Inactive) merged pull request #817 in Stash -
          Status In Review [ 5 ] Closed [ 6 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                31/Mar/20

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 4 hours, 51 minutes
                1d 4h 51m

                  Agile