Viewing 4 replies - 1 through 4 (of 4 total)
  • AJ a11n

    (@amandasjackson)

    Hi @therockisnow

    It looks like the parentheses being used could be the issue, try

    [product_category ids="51"]

    Thread Starter therockisnow

    (@therockisnow)

    Hi Amanda
    Thanks so much for getting back to me.
    I did recheck this – but it looks like the code is right… (maybe it copied into the forum incorrectly)
    I have also tried editing in the basic WordPress editor – no change though
    Any other ideas?

    • This reply was modified 4 years, 5 months ago by therockisnow.
    Luminus Alabi

    (@luminus)

    Automattic Happiness Engineer

    Hi @therockisnow,

    The correct format for the [product_category] shortcode is as follows:

    [product_category category="one"] where “one” is the slug for the category in question.

    You can also do this using [products] shortcode as follows [products category="one"]

    The ids attribute only works with the [product_categories] shortcode.

    Thread Starter therockisnow

    (@therockisnow)

    many thanks man
    that was not at all clear in the documentation

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Display Products in Category’ is closed to new replies.