Once you have created tickets, you can create promotional codes. 

In your Back-Office > Manage tab > Event ticketing > Tickets and rates > click on "Add a promotion code" button.

  1. Choose your code (you can generate a random code if necessary) 
  2. Select the eligible tickets.
  3. Specify the percentage of the discount. 

Note that you can fix a maximum number of uses for each code.