Skip to content

Manage Order Shortcode

EDD Sell Services provides one shortcode.

Renders the service order area for the logged in user. This is the heart of the buyer and seller experience: it lists a buyer’s service orders and, through the ess-single endpoint, renders a single order’s requirements, conversation, delivery, and review screens.

Activation creates a page titled “Manage Order” containing this shortcode and stores it in the “Manage order page” general setting. You normally do not need to add the shortcode yourself. If you move it to another page, update the “Manage order page” setting to point at the new page, because links throughout the plugin (emails, notifications, redirects) are built from that setting.

This shortcode takes no attributes.

  • If the visitor is not logged in, the EDD login form is shown.
  • If the visitor’s account is pending verification, the EDD account pending template is shown.
  • Otherwise, when the URL carries the ess-single endpoint the single order template is rendered; without it, the list of the user’s service orders is rendered.

Single order links append the ess-single endpoint and three query arguments to the Manage Order page URL: payment_key, pid (the product id), and payment_id. The plugin builds these links for you in emails and notifications.

The screens rendered by this shortcode can be overridden by copying the plugin’s template files into an edd-sell-services folder in your theme. The plugin looks for a matching template in the child theme, then the parent theme, then falls back to its own bundled template.