Version: 2.5.0
Dashboard
The entry point for users' transactions and information.
Loading...
Open the dashboard from a button
The user dashboard can be opened from anywhere on your site if the user is authenticated, by adding pelcro-login-button class to any button.
Read more about Pelcro HTML buttons
Dashboard sections#
| Section | Description | 
|---|---|
| My profile | There are 2 buttons in this section: Edit profileopensUserUpdateModalChange passwordopensPasswordChangeModal | 
| Payment cards | Shows the current payment method and allow updating it. | 
| Addresses | Shows all of the user's addresses, and allow updating them. | 
| Subscriptions | Shows all of the user's subscriptions, and allow renewing, reactivating, canceling, adding, and redeeming subscriptions. | 
| Gifts | Shows all of the user's gifted subscriptions, and allow gifting a new subscription. | 
| Orders | Shows the user's ecommerce orders list. | 
| Saved and followed | Shows the user's saved items. Learn more about how to allow users to save items | 
Usage#
Reference#
Props#
onDisplay#
() โ void
Callback function called when the dashboard is displayed.
onClose#
() โ void
Callback function called when the dashboard is closed.