Contents

WooCommerce Integration — Plugixa Team

Show a specific team (or member set) on individual WooCommerce product pages as an extra product tab. Useful for:

  • Service products where the delivery team matters (consulting, design services).
  • Course products where the instructor roster is the selling point.
  • Gear bundles where the maker/designer is part of the pitch.

Requires: WooCommerce 6.0 or higher, Plugixa Team Pro.

Install

The integration registers automatically when both conditions are true:

  1. WooCommerce is active (class_exists('WooCommerce')).
  2. A valid Pro license is detected.

Global setup

  1. Go to Plugixa Team → Settings → WooCommerce.
  2. Toggle Enable product team tab.
  3. Configure:
Setting Default Notes
wc_team_enabled false Master toggle.
wc_team_tab_title Team Label shown on the product page tab.
wc_team_tab_priority 50 Position among other tabs (lower = earlier).

Per-product setup

  1. Edit any WooCommerce product.
  2. Scroll to Product data → Team tab.
  3. Pick a saved shortcode from the dropdown. This shortcode determines which members / view / filters appear on the product page.
  4. Save the product.

The shortcode ID is stored in _plugixa_team_shortcode product meta.

Frontend behavior

On the product page, a new tab appears (labeled “Team” by default). Clicking it reveals the configured team — rendered with the full view cascade (dark mode, pagination, schema, etc.).

If a product has no shortcode assigned, the tab is hidden for that product — you don’t see an empty tab.

Programmatic API

Read the current product’s team shortcode:

$shortcode_id = get_post_meta( $product_id, '_plugixa_team_shortcode', true );
if ( $shortcode_id ) {
    echo do_shortcode( sprintf( '[plugixa_team id="%d"]', (int) $shortcode_id ) );
}

Hooks

Hook Type Description
plugixa_team_product_tab_title filter Override the tab title per-product or per-category.
plugixa_team_product_tab_priority filter Override tab priority.
plugixa_team_product_tab_content filter Filter the rendered tab HTML (wrap, add header, etc.).

Example — hide the tab for specific categories:

add_filter( 'woocommerce_product_tabs', function ( $tabs ) {
    if ( is_product() && has_term( 'no-team', 'product_cat', get_the_ID() ) ) {
        unset( $tabs['plugixa_team'] );
    }
    return $tabs;
}, 99 );

REST endpoints

GET /wp-json/plugixateam/v1/woocommerce/products
GET /wp-json/plugixateam/v1/woocommerce/categories

These power the product metabox’s search / picker UX (the Pro React admin fetches them to render the picker).

Use cases

Instructor team on course products

  1. Create a “Instructors” group.
  2. Assign course instructors as members of this group.
  3. Create a saved shortcode: view="grid" groups="instructors" per_page="4".
  4. Assign that shortcode to every course product’s Team tab.

Service team on consulting services

  1. Create a group per service (e.g., “DevOps Consulting”).
  2. Assign consultants to the right group.
  3. One saved shortcode per service, picked per-product.

Makers on gear products

  1. Create one group per maker team.
  2. One saved shortcode per team.
  3. Assign to relevant products — customers see who made their gear on each PDP.

Troubleshooting

Team tab doesn’t appear

  • Confirm Settings → WooCommerce → Enable product team tab is on.
  • Confirm the product has a shortcode selected in Product data → Team.
  • Check that the referenced shortcode still exists; deleting it breaks the tab (the plugin gracefully hides it).

Tab appears but is empty

The shortcode loaded, but it produced no members. Likely causes:

  • The shortcode filters to a group with no published members.
  • The shortcode filters by featured_only="1" and no members are featured.
  • If multilingual, there are no members in the current language and the fallback is set to hide.

Multiple shortcodes on one page collide

Every shortcode renders in its own scoped root (.pxt-custom-team-root) with its own CSS variables. If you see style bleed, check theme CSS that targets bare elements (e.g., img { ... } on .single-product). Target .pxt-custom-team-root img from your theme overrides instead.

Quick Links