Docs

WooCommerce

2 min readUpdated November 10, 2026

WP LinkCanvas uses WooCommerce for the Showcase rail: a swipeable row of product cards on the bio page. With WooCommerce active, the rail can show products from your store with live names, prices and images.

Detection#

WP LinkCanvas detects WooCommerce by its WooCommerce class. When it is active, the WooCommerce source appears in the editor’s Showcase rail section. Nothing else needs setting up.

What each card shows#

With the showcase source set to WooCommerce, products are loaded with wc_get_products() and each card shows:

  • Product image: the featured image, printed as a responsive image (srcset and sizes) so phones and computers download a size that suits the card rather than the original upload. The image’s width and height are set, so the page does not jump while it loads.
  • Product name: from the WooCommerce product.
  • Price: from get_price_html(), so sale prices, variable price ranges and multi-currency output all appear.
  • Button: text set per language in the editor. Defaults to Get Yours.
  • Link: the product page.

Choosing products#

By ID: enter product IDs separated by commas. They appear in that order. Simple, variable and subscription products all work.

By category: enter a category ID. Published products in that category are shown in menu order. Use the ID, not the name.

Max products to show: how many cards appear. Defaults to 6.

Multi-currency#

Prices come from WooCommerce’s own get_price_html(), which respects the filters currency switchers use. WCML, Aelia and CURCY work without setup. Plugins that put currency data into the price HTML (such as WC Currency Switch) also work, because the price HTML is printed as it is.

WPML#

With WPML active, each product is swapped for its translation in the bio page’s language using the wpml_object_id filter. Enter product IDs from the default language.

Products without an image#

A product with no featured image shows an empty image area instead of a broken image.

Finding product and category IDs#

Product ID: go to Products, hover over a product and read post=123 in the address shown in the browser’s status bar, or open the product and check the address.

Category ID: go to Products → Categories, hover over a category and read tag_ID=45, or open the category and check the address.

This website uses cookies to enhance your browsing experience and ensure the site functions properly. By continuing to use this site, you acknowledge and accept our use of cookies.

Accept All Accept Required Only