Skip to content

Shortcodes

Woo Sell Services provides four shortcodes for displaying service management interfaces on any WordPress page.

Displays the customer service management interface. Shows the list of service orders for the logged-in customer with status, order details, and links to the service order page.

Usage:

[wss_services_shortcode]

Where to use: Assign this to the page selected as the Service Order Page in General Settings. This is the main page where customers view their service orders and interact with the order workflow.

Displays a single service order detail page. Shows the full order interface including requirements, conversations, deliveries, and reviews for a specific order.

Usage:

[wss_single_order]

Where to use: Used internally by the plugin to render individual order views. Can also be placed on a custom page for direct order access.

Displays the vendor service provider interface. Shows a list of all service orders assigned to the current vendor with order details and management options.

Usage:

[wss_services_provider_shortcode]

Where to use: Create a dedicated page for vendors to manage their service orders outside of WooCommerce My Account.

Displays the service notifications interface. Shows all in-app notifications for the current user with mark-as-read and delete actions.

Usage:

[wss_services_notifications_shortcode]

Where to use: Create a standalone notifications page as an alternative to the My Account notifications tab.

Shortcodes and WooCommerce endpoints serve the same interfaces but in different locations:

Interface Shortcode Endpoint
Customer service orders [wss_services_shortcode] service-orders
Single order detail [wss_single_order]
Vendor service provider [wss_services_provider_shortcode] service-provider
Notifications [wss_services_notifications_shortcode] services-notification

Use shortcodes when you want these interfaces on standalone pages. Use endpoints when you want them inside WooCommerce My Account.

All shortcodes require the user to be logged in. Unauthenticated visitors see nothing or are redirected to the login page.

The vendor shortcode additionally checks that the current user has a vendor role as configured in General Settings.