• Resolved christoph-ED

    (@webagenturerding)


    hey how to display variatons from a product in a shortcode?

    I used this shortcode:
    [products ids=”761, 765, 773, 768″ columns=”4″]

    the IDS are the ids of the variations. but no products are showing.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Missy a11n

    (@m155y5)

    Automattic Happiness Engineer

    Hi @webagenturerding

    I’m afraid that individual variations are not supported by the [products] shortcode, only the [add to cart] shortcode (documentation here).

    You can, however, use the parent argument to display all of the variations from that parent product:

    [products limit="4" columns="4" parent="41883"]

    I realize that might not be exactly what you are looking for, though.

    Plugin Support Missy a11n

    (@m155y5)

    Automattic Happiness Engineer

    We haven’t heard back from you in a while, so I’m going to go ahead and mark this thread as resolved. If you have any other questions please feel free to start a new thread.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Product Shortcodes’ is closed to new replies.