Uploaded image for project: 'PUBLIC - Liferay Commerce'
  1. PUBLIC - Liferay Commerce
  2. COMMERCE-4441

The "Override Discount" toggle should be a toggle, should be positioned above the discount levels input boxes, and should hide the input boxes when in the "off" position

    Details

      Description

      Assumptions

      1. Pricing engine V2.0

      Steps to Reproduce

      1. Go to Control Panel → Commerce → Pricing → Price Lists, or
      2. Control Panel → Commerce → Pricing → Promotions
      3. Add a price list or promotion
      4. Add a new entry
      5. Edit the entry

      Expected Behavior

      The "Override Discount" setting is a toggle button with options "Yes" and "No"
      The "Override Discount" setting hides the discount level input boxes when set to "No"
      The "Override Discount" setting is set to "Yes," the toggle is positioned above the discount level input boxes

      Actual Behavior

      The "Override Discount" setting is a checkbox
      The discount level input boxes are always shown, regardless of the "Override Discount" setting's configuration
      The "Override Discount" setting is positioned below the discount level input boxes


      Example

      Example

      Reproduced On

      7.1

      Tomcat 9.0.33 + HSQL 2.3.3
      marco-leo/liferay-portal-ee:7.1.x git hash f6228ce4798853c4074a36021934c732012b438f

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kristin.onias Kristin Onias
              Reporter:
              corbin.murakami Corbin Murakami
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  7.3
                  Master