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

          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