Home New Guten Forums WoodMart support forum products shorcodes

products shorcodes

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #643626

    medshow37
    Participant

    I want a WooCommerce shortcode that displays products based on product category slugs, similar to the WoodMart shop. The most important thing is that I want to know how to create this shortcode to display, for example, 20 products, with a “Load More” button appearing afterward.

    Additionally, I want to make the shortcode display products using infinite scrolling.

    #643798

    Hello,

    You can use the WooCommerce shortcode to display products by category slug like this:
    [products limit="20" columns="4" category="your-category-slug"]

    However, WooCommerce shortcodes do not support “Load More” or Infinite Scroll” by default. To achieve this.

    Here is the WooCommerce documentation about product shortcodes.
    https://woocommerce.com/document/woocommerce-shortcodes/products/

    But WoodMart already provides “Load More” and “Infinite Scroll” options for product grids. To enable this:

    1. Create a new WoodMart Product Grid element in Elementor or wp bakery page.
    2. Select Load More or Infinite Scroll as the pagination style.

    Here is the widget documentation:https://xtemos.com/docs-topic/products-element-grid-or-carousel/

    Best Regards,

    #664450

    medshow37
    Participant

    Thanks, you can close this topic

    #664607

    Hello,

    You’re very welcome! If you need anything else, feel free to reach out!

    Thanks for contacting us.
    Have a great day.

    Topic Closed.
    Best Regards,

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘products shorcodes’ is closed to new replies.