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

Default Account Discount per Channel

Details

    Description

      As a Sales Manager

      I want to be able to set a default Account Discount per channel

      So that Accounts viewing the product catalogue from this channel use this Discount by default

       

      Acceptance Criteria

      1. From the Order Defaults Page there is an option for setting a default Discount on the account with an an option to specify a channel.
      2. This Section to be called "Discounts" 
        1. Follows the UI pattern (e.g. for address or Terms and Conditions)
        2. Placed after Price Lists (COMMERCE-9704)
      3. User selects a Channel first
        1. Options will include All Channels, and a list of all enabled channels
      4. There is an option to Override Eligibility per default
        1. Set to false by default
      5. User then selects the Default Discount
        1.  Only Level 1 Discounts are presented to the user (For now, future stories we will introduce Multi-level)
      6. If Override Eligibility is set to false;
        1. Selecting a default Discount per Channel means that when viewing the product prices from this account via that channel, the Discount set as default, if eligible, is what is used. 
        2. Otherwise the highest priority eligible Discount is used (as per current functionality)
      7. If Override Eligibility is set to True;
        1. Selecting a default Discount per Channel means that when viewing the product prices from this account via that channel, the Discount set as default, is what is used regardless of any other eligibility criteria on the Discount. 
        2. Only the Eligibility Settings from the Eligibility tab of the discount configuration is ignored. i.e. ignore Account, Channel and Order Type Eligibility
        3. All other Discount Rules as per the Details Tab of the discount still apply
      8. If there is at least one Default set per account, The Option "All Channels" does not appear but instead "All Other Channels" is the option shown on the UI
      9. It should be possible to remove a default (either by delete from an ellipsis or by editing and removing - UX decision) 
      10. For upgrading purposes no default Discounts need to be set at the account as this is a new feature

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              david.kelly David Kelly
              Alessandro Iovane
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Packages

                  Version Package
                  7.4 DXP U41