CM Product Directory Community (CMPDC) - Updating a Product
Updating a Product Profile
This guide shows how a user can update a Product profile. Note that the admin can always edit any profile from the Back-End.
These articles might be relevant:
Table of Contents
- Allowing Users to Update Product Profiles
- Admin View - Identifying the Owner And Sending Passwords
- User View
The plugin allows users to edit the products assigned to their profile.
- A user can only edit products assigned to him/her.
- Users must must be logged in to edit their products.
- The plugin generates credentials for anonymous users so they don't have to create a WordPress account. Read more.
Allowing Users to Update Products
Add an Community Form
First of all, the Community Form has to be properly configured. The Community add-on automatically creates a page dedicated to the Community Form when it's activated and you can customize the location of the form by using shortcodes. Read the specific documentation to learn more.
You can manage and customize the Community Form through the Community Product settings.
Admin View - Identifying the Owner And Sending Passwords
The admin can verify the owner of a product profile in the edit product page. To enable this, turn on the option "Recovery management" in the Community Product tab.
Now you will see a meta-box called "CM Product Directory Community Custom Fields" when editing a product.
In it, the admin can assign the product to an email.
If an email address is already set, the admin can view the login and password and also send these credentials to the user, as highlighted.
To learn more about, check the specific guide Password Recovery.
Logged-in User View - Editing a Product
In order to edit a profile, the user must first be logged in to WordPress. He will then have access to the edit form and to the user dashboard.
The admin can implement the user dashboard by adding the shortcode
[cmbdc_dashboard] to any page. In it, the user will be able to manage his/her product.
Example of the user dashboard for a logged in and a guest user:
Learn more about shortcodes in the specific guide.
Editing a Profile
Editing a profile is much like creating one - change the values of fields you want to edit and apply the changes.
Anonymous User View - Editing a Profile
Anonymous users also can edit profile they suggested, even without having a WordPress account. The only requirement is that the email address they provide matches that of the profile's owner.
To edit a profile, the anonymous user should access its page.
There, he/she will find two relevant options:
- Login and Edit - By inputing the credentials, the user will be able to edit the product.
- Recover login and password - If the input email and the owner email match, the user will receive the Password Recovery message.
Learn more in the specific guide Password Recovery.