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

Placed Orders Widget display date configuration

Details

    Description

      As a marketing manager

      I want to be able to set the format of the order date to show only date and not the time

      So that I can only show the date if I do not capture the time when creating orders in a headless API scenario

       

      Acceptance Criteria

      1. Placed Orders Widget has a new  configuration option;
        1. Order Date Display
        2. 2 options - Date or Date/Time
      2. If checkbox is checked;
        1. We show the date/time as per current behaviour
      3. If checkbox is not checked;
        1. We show the date without the time
      4. Default for this new config option is Date/Time
      1. Also, global configuration can be set under Control Panel -> System Settings -> Placed Orders
        1. 2 options - Date or Date/Time
      2. If checkbox is checked;
        1. We show the date/time as per current behaviour
      3. If checkbox is not checked;
        1. We show the date without the time

       

      Note: The actual display format will still be dependant on your local, e.g. 15/03/2022 for Eng GB but 03/15/2022 for Eng US. 

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              david.kelly David Kelly
              Crescenzo Rega
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Packages

                  Version Package
                  7.4 DXP U20