• Resolved wpdilemmas

    (@wpdilemmas)


    WooCommerce includes a handful of shortcodes, including those necessary for OOB functionality (like “[woocommerce_my_account]”).

    My specific question is related to the aforementioned shortcode. Is there a way to target a specific endpoint using a parameter within the shortcode? So, let’s say I didn’t want to display the whole dashboard, but a specific endpoint, like orders. Is there a parameter I can use with the shortcode to specifically display that endpoint?

Viewing 1 replies (of 1 total)
  • Kenin

    (@kbassart)

    Automattic Happiness Engineer

    Hi there,

    There aren’t any shortcode parameters for the MyAccount or the other WooCommerce Pages. Those shortcodes use their related templates to display the content. Any changes to the shortcode output would need to be made on the respective template.

    You can see all the templates here:

    * https://docs.woocommerce.com/document/template-structure/

Viewing 1 replies (of 1 total)

The topic ‘Endpoint Parameter In WooCommerce Account Shortcode?’ is closed to new replies.