• Resolved Sarah H

    (@sarahrbcom)


    I’d like to show recent products in a specific category. Trying this but it still returns ALL products, not in the defined category.

    [recent_products product_category="comics-related" limit="120" columns="6" orderby="date" order="desc" per_page="36" paginate="true"]

    Also trying this since I heard “recent products” goes by ID not date, and it works, but for the client who needs to manipulate this on occasion I feel like it’s less semantically intuitive compared to “recent_products”.

    [product_category category="comics-related" limit="120" columns="6" orderby="id" order="DESC" per_page="36" paginate="true"]

    Is there a way to fix the first shortcode to work properly? Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Yuki K a11n.

    (@yukikatayama)

    Automattic Happiness Engineer

    Hi @sarahrbcom,

    It looks like adding the pagination is what shows all products. Have you tried using Blocks? If pagination is needed, it may be good to report this issue on Github here

    Plugin Support Yuki K a11n.

    (@yukikatayama)

    Automattic Happiness Engineer

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Shortcode help: Recent products in a category’ is closed to new replies.