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"]

Deja una respuesta

Tu dirección de correo electrónico no será publicada.