Customization of the user profile for WordPress
Hello developer!
Need help expanding the basic functionality of the WooCommerce WordPress user profile.
Given:
1) Basic portal on Wordress 6.0.1
2) WooCommerce, which managed to "pump" a little, at a time when it was still possible to buy
3) Custom theme on Bootstrap, with a terrible appearance (still a layout)
Whats the problem:
1) WordPress has a very modest user profile by current standards that doesnt cover all wishes. You need to extend it both on the part of the administrator and the side of the average user.
1.1) At the same time, some fields are edited only by the administrator.
2) It is planned to edit user accounts after the extension in the standard editor from the admin panel.
2.1) Yes, this is the same full-time editor who chews "in a heap" of fields from all possible places - for example, email after adding a WooCommerce plugin will be in two places: in wp_usermeta, and in wp_users.
What you need:
1) For a regular user, add a new item in the WooCoomerce profile (wc_get_account_menu_items). Lets call it, for example, "My Profile". The menu itself, as well as its contents, will not be tied to the store in any way, there this information will not be needed.
1.1) Add new fields in this section
a) Interest 1 (drop-down list)
b) Interest 2 (drop-down list)
c) Interest 3 (drop-down list)
d) About me (textarea) (maxlenght = 500 minlenght = 30)
1.2) The interest fields 1 / 2 / 3 cannot be the same (a check is added that if the interest_one === interest_two || interest_two === interest_three etc a save error is displayed)
2) Expand the user block
2.1) New fields are added to this branch (some of them are edited only by the administrator, and the user can only view)
a) Add a field with Patronymic (in addition to Last Name, First Name, as well as for ordering in the store)
b) Phone confirmed (boolean), default false (edited by administrator)
c) Rating (int), default 0 (edited by administrator)
d) Questionnaire checked (boolean), default false (edited by administrator)
e) Address checked (boolean), default false (edited by administrator)
3) Add small mechanics to the profile of a regular user
a) If phone is confirmed (true), the phone number cannot be edited
b) If Address is verified (true), the users address cannot be edited
c) When filling in the Fields First Name Surname Patronymic, they become unavailable for editing
P.S. Do not forget about responsiveness in different sections. I would like to get new fields as simply as the main ones, through simple manipulations. For example, $first_name = $user->first_name
What you need to work:
- Your favorite IDE that can do git. We will give an invite for joint work, because we also do not stand still.
- PHP skills, as well as an understanding of the scheme of stores on WooCommerce and WordPress in general.
What else:
- You can suggest your own development if the description above is in doubt
- Any questions from you on the mode of operation of the store, as well as on the availability of certain modules or technologies.
- Nothing is clear at all? Write too. Lets answer directly and to the point.
Ready for your next order?
- Did you like working in this direction? We will offer the next order at the end of the main one.
15.07.2022 16:11