fbpx

Shortcode

Table of Contents

The My Account component can be used with the shortcode:

[st_wc_awesome_my_account]

Settings can be added to the shortcode manually or by updating an option over at the admin panel

  • show-orders
    • Display orders to user
    • Can be a boolean value (‘true’, ‘false’, ‘yes’, ‘no’)
    • DEFAULT: ‘true’
  • show-downloads
    • Display downloads to user
    • Can be a boolean value (‘true’, ‘false’, ‘yes’, ‘no’)
    • DEFAULT: ‘true’
  • show-addresses
    • Display edit address forms to user
    • Can be a boolean value (‘true’, ‘false’, ‘yes’, ‘no’)
    • DEFAULT: ‘true’
  • show-payment-methods
    • Display payment methods to user
    • Can be a boolean value (‘true’, ‘false’, ‘yes’, ‘no’)
    • DEFAULT: ‘true’
  • show-account-details
    • Display account details form to user
    • Can be a boolean value (‘true’, ‘false’, ‘yes’, ‘no’)
    • DEFAULT: ‘true’
  • show-breadcrumb
    • Display navigation breadcrumb
    • Can be a boolean value (‘true’, ‘false’, ‘yes’, ‘no’)
    • DEFAULT: ‘true’
  • orders-description
    • Customize description for orders nav card
    • Can be a custom text
    • DEFAULT: ‘View and track your orders’
  • downloads-description
    • Customize description for downloads nav card
    • Can be a custom text
    • DEFAULT: ‘View your downloads
  • edit-address-description
    • Customize description for edit address nav card
    • Can be a custom text
    • DEFAULT: ‘Edit Billing/Shipping address’
  • edit-account-description
    • Customize description for orders nav card
    • Can be a custom text
    • DEFAULT: ‘Edit your account information’
  • logout-description
    • Customize description for logout nav card
    • Can be a custom text
    • DEFAULT: ‘Exit session
  • payment-methods-description
    • Customize description for payment methods nav card
    • Can be a custom text
    • DEFAULT: ‘Edit/Update payment information’

Example #

Here we have an example configuration of the component

Powered by BetterDocs

Leave a Reply

Your email address will not be published. Required fields are marked *