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

Order: Do not allow packages of 0 quantity to be added to cart

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0.0-b1
    • Fix Version/s: 4.1.0-b1
    • Component/s: Plugins
    • Labels:
      None

      Description

      When a Package has a quantity available of 0, it can still be viewed and added to cart. Only when attempting to check out is an error produced:

      "Quantity limit reached. If possible, please select a smaller quantity."

      We should also prevent the item from being added to cart by disabling the button, making the button red, and changing the button text to read: "Out of Stock"

      Double-check package options of quantity 0 as well. No product should be added to the cart that has 0 quantity.

        Activity

        admin Paul Phillips created issue -
        admin Paul Phillips made changes -
        Field Original Value New Value
        Fix Version/s 4.1.0 [ 11007 ]
        Fix Version/s Short Term [ 10800 ]
        tyson Tyson Phillips (Inactive) made changes -
        Description When a Package has a quantity available of 0, it can still be viewed and added to cart. Only when attempting to check out is an error produced:

        "Quantity limit reached. If possible, please select a smaller quantity."

        We should also prevent the item from being added to cart by disabling the button, making the button red, and changing the button text to read: "Out of Stock"
        When a Package has a quantity available of 0, it can still be viewed and added to cart. Only when attempting to check out is an error produced:

        "Quantity limit reached. If possible, please select a smaller quantity."

        We should also prevent the item from being added to cart by disabling the button, making the button red, and changing the button text to read: "Out of Stock"

        Double-check package options of quantity 0 as well. No product should be added to the cart that has 0 quantity.
        tyson Tyson Phillips (Inactive) made changes -
        Story Points 3
        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 ]
        tyson Tyson Phillips (Inactive) made changes -
        Rank Ranked higher
        tyson Tyson Phillips (Inactive) made changes -
        Sprint 4.1.0 Sprint 3 [ 40 ]
        tyson Tyson Phillips (Inactive) made changes -
        Rank Ranked lower
        Automated transition triggered when Jonathan Reissmueller created pull request #25 in Stash -
        Status In Progress [ 3 ] In Review [ 5 ]
        Resolution Fixed [ 1 ]
        tyson Tyson Phillips (Inactive) made changes -
        Sprint 4.1.0 Sprint 2 [ 40 ] 4.1.0 Sprint 2, 4.1.0 Sprint 3 [ 40, 41 ]
        tyson Tyson Phillips (Inactive) made changes -
        Rank Ranked higher
        tyson Tyson Phillips (Inactive) made changes -
        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:
              17/Jul/17

              Agile