[Resolved] wp show posts and generateblocks

Home Forums Support [Resolved] wp show posts and generateblocks

Home Forums Support wp show posts and generateblocks

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1299112
    nana

    I am using both plugins. I have an issue with what I would like to show on my homepage from my products page. I only want to get the product images, the first 10 words of the description and the price to show. How can I do that?

    #1299484
    Leo
    Staff
    Customer Support

    Hi there,

    Is there a reason why you are using WPSP to display products?

    This is not a common practice as you can use WooCommerce shortcode to display products:
    https://docs.woocommerce.com/document/woocommerce-shortcodes/

    #1304832
    nana

    I tried using codes but it is not working, I don’t know if I am the one placing the code on the wrong place

    #1304983
    David
    Staff
    Customer Support

    Hi there,

    lets start with adding this shortcode:

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

    This will display the latest 4 products across a single row.
    Let us know if that works.

    #1305199
    nana

    What if I want to show a certain category of products?

    #1305487
    Leo
    Staff
    Customer Support

    Did you check out the doc page here?
    https://docs.woocommerce.com/document/woocommerce-shortcodes/#display-product-attributes

    The category part should be what you are looking for.

    Please check with WooCommerce support first if you have more questions.

    #1319147
    nana

    All the shortcodes I got from woocommerce’s shortcodes page are not working. I just want one that will help me display a certain category of my products

    #1319407
    David
    Staff
    Customer Support

    Hi there,

    to display a list of products from a specific category your shortcode would look something like this:

    [products limit="4" columns="4" category="your-category-slug" ]

    Change your-category-slug to whatever category you want displayed.

    #1321742
    nana

    Thank you David, it works perfectly.

    #1321829
    David
    Staff
    Customer Support

    Glad to hear that

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.