Untitled Note
By: Anonymous1/26/20222 views Public Note
story1:
As a user I need three different types of membership programs I can be a part of.
how to do :
step1:
provide a button in the homepage where it redirects to the membership details page(html page)
step2:
code a table where he/she can view all the plans that are offered
step3:
use of a check box to select a plan
step4:
payment button to proceed for the payment section to become a member
story2:
As a user I need membership validity for the plan I choose
how to do :
step1:
according to the opted plan's offered validity the, validity is assigned in the code
step2:
update the database with his opted plan
step3:
we retrieve the info of a user in database and check for the plan opted
step4:
we assign the user with the validity span that's offered for the opted plan
story3:
As a user I want additional 5% off on stays
how to do :
step1:
check if the user is valid for the discount
step2:
once verified approved, all the hotels that are to be displayed are selected
step3:
using SQL are joint statement which say "original discount 5% extra discount" is displayed
step4:
5% discount will be given and deduced from the payment check at time of payment
story4:
As a user I want additional 10% off on one particular hotel for future bookings
how to do :
step1:
a default button is provided for every hotel at the time of payment which says "base"
step2:
update in the database after the payment is done
step3:
whenever that hotel is selected again, we will verify if that hotel is matched before payment
step4:
once verified a discount of 10% will be given and deduced form the payment check at the time of payment