Support » Plugin: WooCommerce » Create A Page With New Products Only

  • Resolved slimmz

    (@slimmz)


    Hello,
    How can i achieve my need to create a page a page that only contain newly added products?

    On my homepage (ptpasonline.com) you can see there is a section named “New Product” i want that to be clicked or add button to display all of the new products on a page.

    Is this possible?

    Cheers

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • You’ll need to construct a suitable shortcode:
    https://docs.woocommerce.com/document/woocommerce-shortcodes/

    Something like:
    [products limit="12" orderby="date" order="desc"]

    “date” refers to the date the product was published.
    “desc” means starting with the latest.

    Thread Starter slimmz

    (@slimmz)

    Thanks for reaching out @lorro
    I will try to implement this

    Thread Starter slimmz

    (@slimmz)

    Hey @lorro I did the exact code you gave me, but it’s not working, am i missing something?

    I tried it before posting and it worked for me.

    Did you put it in a page or in a widget? In a widget may not work.

    Did you make sure to use straight quotes " and not smart (angled/curly) quotes?

    Did you try just [products], does that work OK?

    Thread Starter slimmz

    (@slimmz)

    Yes i used it correctly im pretty sure, and it’s not on a widget

    Im using WP Bakery page builder, and using Text Block in it
    Also tried using the Guttenberg, still the same

    the result is just text: https://ibb.co/bK3Sq9q

    EDIT: I tried to use another shortcode like [woocommerce_cart] and it worked, but all of the product-related shortcode is not. Why?

    ANOTHER EDIT: I found out that WP Page Bakery came with its product block I could use to display recent product haha, how silly I’am

    Thanks or the support mate

    • This reply was modified 1 year, 7 months ago by slimmz.
    • This reply was modified 1 year, 7 months ago by slimmz.
    • This reply was modified 1 year, 7 months ago by slimmz.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Create A Page With New Products Only’ is closed to new replies.