Customising Shopfront

How to Display a Previous Date on the Register

Need to check ID cards or a date X amount of time in the past (or future)? You can add a Previous Date Sale Key to the Sell Screen.

Setting up the Sales Key

  1. Select the Menu icon
  2. Select Setup  
  3. Select Sale Keys 
  4. Select the Sales Keys you wish to edit or create a new set
  5. Resize your existing Sales Keys to make room for a new button
  6. Select Add Sale Key
  7. Fill in Key Text with the name of your sales key (e.g. ID Check)
  8. Scroll down to Key Action and change the setting to View a Previous Date
  9. In the box titled Duration Ago type the period you wish to view
    • We use the ISO 8601 Format to define periods, view below for a detailed breakdown on how this works 
    • To display a date 18 years ago enter P18Y
    • To display a date 21 years ago enter P21Y
  10. Select your background and text colour settings for your new key
  11. Click Save

ISO 8601 Period Format

We use the ISO 8601 Period format to define periods as it is a standard measurement for time periods.

The format always starts with the letter P (for Period), it is then followed by a numerical value (e.g. 18) and then followed by a period designator (e.g. Y for years), these can then be followed by more values and designators.

  • P is the duration designator (for period) placed at the start of the duration representation.
  • Y is the year designator that follows the value for the number of years.
  • M is the month designator that follows the value for the number of months.
  • W is the week designator that follows the value for the number of weeks.
  • D is the day designator that follows the value for the number of days.
  • T is the time designator that precedes the time components of the representation.
    • H is the hour designator that follows the value for the number of hours.
    • M is the minute designator that follows the value for the number of minutes.
    • S is the second designator that follows the value for the number of seconds.

For example, "P3Y6M4DT12H30M5S" represents a duration of "three years, six months, four days, twelve hours, thirty minutes, and five seconds".

For more information on ISO 8601 you can check out this Wikipedia article.