Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support LovingBro (woo-hc)

    (@lovingbro)

    Hi @edwardsmark,

    Yes, when you insert the [products] shortcode into a post or page, it should display products from your WooCommerce store. If nothing is showing up, here are a few things to check:

    • Do you have published products? The shortcode will only display products that are published and set to “visible” in the catalog.
    • Is your page/post set to “public”? Drafts or private pages might not render shortcodes correctly on the front end.
    • Are you using any shortcode attributes? Just [products] with no attributes displays your most recent products. You can specify categories, IDs, etc., for more control.
    • Theme or plugin conflicts: Sometimes, themes or plugins can interfere with how shortcodes display. Try switching to a default theme (like Storefront or Twenty Twenty-One) and disabling other plugins except WooCommerce to see if it works.
    • Cache: If you use caching plugins or server caching, try clearing the cache.

    You can find more details and examples here: https://woocommerce.com/document/woocommerce-shortcodes/products/

    Let us know if any of these steps help or if you see any error messages!

    Thread Starter edwardsmark

    (@edwardsmark)

    thank you! [product id=1234] worked just fine. i am still surprised that just merely using [product] didn’t display everything…. but a win is a win!

    Plugin Support Frank Remmy (woo-hc)

    (@frankremmy)

    Hi Edward,

    On behalf of @lovingbro, you’re very welcome. Glad to hear that [product id=1234] worked for you!

    If you run into any other questions or need help with shortcodes or WooCommerce, please don’t hesitate to reach out. We’re here to help!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘shortcodes newbie question’ is closed to new replies.