Frontend profile settings #20
Reference in New Issue
Block a user
Delete Branch "frontend-profileSettings"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Asana Card
SMOKE TEST:
Run unit tests
added 1 commit
Compare with previous version
changed the description
assigned to @akrdzic
marked as a Work In Progress
changed the description
added 26 commits
masterCompare with previous version
added 1 commit
Compare with previous version
unmarked as a Work In Progress
changed the description
changed the description
Add this additional customer properties using snake case notation as the rest of customer properties.
use snake case notation for countries.
Since only wiaas customers have multiple addresses, logic for it should be separated into class-wiaas-customer.php file.
Access to wiaas customer address data should be handled with access methods and not using 'get_user_meta' everywhere. These addresses will later be used in cart and orders and access to them should be transparent for them.
Handling of customer addresses should be handled with specific address CRUD methods for customer as extension of
customer/[id]/addressesendpointresolved all discussions
changed this line in version 5 of the diff
changed this line in version 5 of the diff
changed this line in version 5 of the diff
changed this line in version 5 of the diff
changed this line in version 5 of the diff
added 36 commits
masterCompare with previous version
I tried with DELETE but in that case params are empty, and I don't know why. Based on this (https://developer.wordpress.org/rest-api/requests/#body-params) it should behave same as with PUT/POST but it's not working
You should just send address_id as part of request
Same here, use DELETE
changed this line in version 6 of the diff
changed this line in version 6 of the diff
added 41 commits
masterf63e1185- add user controller9da31990- add user info to JWT token responsebc61e2e7- use custom user endpoint for validation and JWT auth for login4ce7b86e- update and read customer phone number, company name and VAT numberb3cff5d0- add list of available countriesb974eab2- add tests for rest-user-apia79ef104- user profile edit actionsaae23e4e- improve frontend coded26569a8- create user class and make use of ite6e487f3- add unit tests39cb851a- change property name to comply with frontend8a9af7ed- keep old variable namea901da55- Enable address changes in cart moduleb98f3c97- add aditional fields to profile address on frontend84916a01- add first name, last name and email fields to profile address on backend90402d3e- change property name to comply with frontendc322c8ac- display name, last name and email above address for profile addresses5d91576f- turn off autocomplete also for billing address input/editb93aed10- use new list of countries and adapt backend and frontend to it82e4579e- simple backend address validation32379f7f- simple frontend address validationd36398f2- remove commentaf2da3ee- add customer class and endpoint31115b7c- add helper to transform snake case to camel case498f5526- use customer endpoint for profile actions522417ca- use snake case0787cf83- use snake case39315880- snake case - camel case transformationsfa2b6919- apply snake case changec6378802- fix personal info validation3fa75daa- fix typo4159f128- fix company info update5da2353d- add tests for profile endpoints41e92e23- use DELETE instead of POST for delete actioncbf1de34- modify test to use DELTE instead of POSTCompare with previous version
merged
mentioned in commit
d8c38ec089