Docs

WooCommerce

3 min readUpdated June 15, 2026

WP LinkCanvas integrates with WooCommerce to power the Showcase rail — a horizontal-scrolling product card strip on the bio page. When WooCommerce is active, bio pages can pull products directly from your store with live titles, prices, and images.

Detection#

WP LinkCanvas detects WooCommerce via the WooCommerce class. When WooCommerce is active, the WooCommerce source option becomes available in the Showcase section of the bio page editor.

What the integration provides#

When the Showcase source is set to WooCommerce, the plugin queries your store using wc_get_products() and renders each product as a card in the rail with:

  • Product image — the featured image at full resolution. Full size is used rather than the WooCommerce thumbnail to avoid blurry output on retina displays. CSS constrains the display size.
  • Product name — fetched directly from the WooCommerce product object
  • Price — rendered via get_price_html(), which includes sale prices, price ranges for variable products, and any HTML added by multi-currency plugins
  • CTA button — configurable per language in the editor (defaults to “Get Yours”)
  • Link — the product permalink

Product selection#

By ID — enter specific product IDs separated by commas in the editor. Products appear in the order you entered them. Any valid published WooCommerce product ID works including variable products, simple products, and subscriptions.

By category — enter a category term ID. All published products in that category are fetched and sorted by menu order. Use the ID, not the category name — find it in Products → Categories.

Max products — limits how many cards appear in the rail. Defaults to 6 if not set.

Multi-currency compatibility#

Prices are rendered using WooCommerce’s own get_price_html() method, which respects all filters on woocommerce_product_get_price and wc_price. Currency-switcher plugins that hook into these filters — including WCML, Aelia, and CURCY — work automatically. Plugins that embed currency JSON into the price HTML (such as WC Currency Switch) also work because the price HTML is output as-is without stripping tags.

WPML product translation#

When WPML is active, WP LinkCanvas resolves each product to its translated version for the current language using the wpml_object_id filter. Enter product IDs in the default language — the plugin fetches the correct translated product automatically for each language version of the bio page.

Image fallback#

If a product has no featured image, the image slot renders as an empty placeholder div. No broken image icons appear.

Finding product and category IDs#

Product ID — go to Products, hover over a product and look at the URL in the status bar (post=123), or edit the product and check the URL.

Category ID — go to Products → Categories, hover over a category and look at the URL in the status bar (tag_ID=45), or click the category and check the URL.