123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218 |
- order.Prevalip.com
- LAYOUT::
- Apply Promo Code: [_______________] -> hits PHP. app.post('/php/apply-promo-code')
- if !user, applies $promoCodeCookie, redir to /log-in
- if $user && !$user->promo_code_id, redir to /user/apply-promo-code/{code}
- if $user && $user->promo_code_id, ERROR - you cannot switch your promo code ever.
- /
- Hello.
- /create-account
- @if($promoCodeCookie)
- dump($promoCodeCookie)
- @endif
- [Continue with Google]
- [Continue with Facebook]
- or
- [First name]
- [Last name]
- [Email]
- [Password]
- [[Create account]]
- Returning customer? <a>Sign in</a>
- /user/apply-promo-code/{code} || !!!!!!!! you are always stuck here if $promoCodeCookie
- <- Cancel and Go Back ->>> removes $promoCodeCookie
- dump(code);
- [Apply Promo Code] [Cancel] ->>> removes $promoCodeCookie
- |->>> /api/customerStore/applyPromoCode --> checkout flow
- /log-in
- @if($promoCodeCookie)
- dump($promoCodeCookie)
- @endif
- [Continue with Google]
- [Continue with Facebook]
- or
- [Email]
- [Password]
- [[Sign in]]
- New customer? <a>Create account</a>
- <a>Forgot your password?</a>
-
- /confirm-email-address
-
- /forgot-password
- RESET YOUR PASSWORD
- We will send you an email to reset your password.
- [Email]
- <a>Submit</a> <a>Cancel</a>
-
- /reset-password
- RESET ACCOUNT PASSWORD
- Enter a new password for {{email}}
- [Password]
- [Confirm password]
- [[Reset Password]]
-
- SESSION REQUIRED!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
- /my-account
- @if(FLASH_COOKIE('Success'))
- You have updated your order successfully.
- @endif
-
- ITEMS & SHIPPING DATES:
- dump($user);
- [[MAKE CHANGES]] -> /cart HREF
- SHIPPING ADDRESS:
- Name: //
- Address: //
- [[MAKE CHANGES]] -> /checkout/shipping-address HREF
- PAYMENT METHOD:
- Payment Method: //
- [[MAKE CHANGES]] -> /checkout/payment HREF
- /cart
- How many units would you like? {{upcomingFillNumberOfUnits}} 2
- {{upcomingFillContentPrice}} $27.50
- When would you like it shipped? {{upcomingFillDate}} 1-17-2023
- Shipping method: {{upcomingFillShippingMethod}} EXPEDITED
- {{upcomingFillShippingPrice}} -> $18.00
- Would you like refills to be sent to you automatically? You can cancel any time. [YES / NO]
- @if(YES)
- When would you like your first refill to be shipped? {{fill2Date}} 2-15
- How many units would like for refills: {{fill2NumberOfUnits}} // usually same as {{upcomingFillNumberOfUnits}} 2
- {{fill2ContentPrice}} $55.00
- Refill shipping method: {{fill2ShippingMethod}} STANDARD
- {{fill2ShippingPrice}} - $0.00
- How often would you like refills?
- (_) Every {{refillFrequencyNumberOfDays}} days. - [[30]]
- (_) The {{refillFrequencyNumberOfDayOfMonth}} of every moth.
- (_) The first {{refillFrequencyFirstDayOfWeekOfMonth}} of every month.
- Shipment schedule:
- {{fill1Date}}
- {{fill2Date}}
- {{fill3Date}}
- {{fill4Date}}
- {{fill5Date}}
- {{fill6Date}}
- You can cancel refills anytime by logging in or calling us at (800) 750-4540.
- Limit my refills right now: [off / on]
- @if(YES)
- Limit my number of refills to: {{limitedNumberOfFills}}
- [Proceed to Checkout] -> app.post('submit-cart') -> /api/customerStore/updateFillSettings -> REDIR TO /checkout/shipping-address
- /checkout/shipping-address::
- <col-6>
- BREADCRUMBS:: Cart > !Shipping Address! > Payment Method
-
- Name:
- Address:
- [Proceed to Payment] -> app.post('submit-checkout-shipping-address') -> hit Java twice -> REDIR TO /checkout/payment
-
- </col-6>
- <col-6>
- dump($user); // THIS IS EVENTUALLY GOING TO BE A SEXY VIEW OF FILL SETTINGS
- </col-6>
- /checkout/payment-method
- BREADCRUMBS:: Cart > !Shipping Address! > Payment Method
- <col-6>
- Payment Method:
- [Submit] -> app.post('submit-checkout-payment-method') -> flashCookie('SUCCESS') -> REDIR TO /my-account
- </col-6>
- <col-6>
- dump($user); // THIS IS EVENTUALLY GOING TO BE A SEXY VIEW OF FILL SETTINGS
- </col-6>
- /log-in-settings
- selfChangePassword()
- disableStandardLogin()
- requestEmailChange()
- confirmEmailChange()
- enableLoginWithGoogle()
- enableLoginWithFacebook()
- disconnectGoogle()
- disconnectFacebook()
- /order-history
|