tomik-z-cech / PP5-Ohm-Azing-Components

View massive selection of electronic components at our online store. Find high-quality resistors, capacitors, tools, kits and more. Shop now for all your electronic needs !

Home Page:https://ohmazing-components-1a5a0fcb9e95.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

USER STORY : Vouchers

tomik-z-cech opened this issue · comments

As a Site User, I have an option to redeem dicount codes in order to get discount on my purchase.

Acceptance Criteria :

When I navigate to "Secure Checkout" then I have an option to redeem dicount code in clear manner.

Tasks :

  • Create a form for redeeming vouchers forms.py in checkout
  • Implement form for redeeming vouchers incheckout.html template
  • Create logic to compare code entered by User with codes in database
  • Update price of order accordingly
  • Create clear feedback to User
  • Test functionality as logged in User
  • Test functionality as not logged in User

Epic :
EPIC 10

This was done in commit 0fbac68.