Introduced in version 1.3.9 you can use the following shortcode to display variations directly on any page.

[woocommerce_single_variations]

Parameter you can use:

  • products (product IDs comma separated)
  • categories (category IDs comma separated)
  • order (default: DESC)
  • orderby (default: menu_order)

An example with product variation IDs:

[woocommerce_single_variations products="813"]

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *