Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

eStore/eMember: Show some products while hiding others (shortcodes)

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › eStore/eMember: Show some products while hiding others (shortcodes)

  • This topic has 2 replies, 2 voices, and was last updated 13 years ago by Holly Lisle.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • June 5, 2012 at 7:41 pm #6515
    Holly Lisle
    Member

    Ideally, on my shop front page, I’d like to show an eclectic mix of the novels and writing courses I offer; however, I do NOT want to include site memberships, which I want to keep off the front page.

    Is there a way (preferably by using short codes) that I can pull random products from several of my categories, while blocking off the category of memberships?

    Something that might go together like [wp_eStore_category_products_fancy id=1-2-3 idnot=4 random=yes style=1 type=1]

    Or even adding newest=yes or mosttoleastpopular=yes

    I’m not hoping for these as codes. But I’m hoping that naming them what I need them to do to get my shop to present my books and courses the way I want gives you a clearer picture of what I hope to accomplish.

    Thank you for any help you can offer.

    Cheerfully,

    Holly

    June 6, 2012 at 2:41 am #45881
    admin
    Keymaster

    You can use the following shortcode to get a number of random products from a particular category:

    [wp_eStore_random_products number=3 style=1 type=1 cat_id=1]

    The above shortcode will display 3 random products from category “1” with fancy1 style and an “Add to Cart” type button.

    Given you have categorized all of your products, you can use a few of the above shortcode to achieve what you are after.

    The following post is also a good read for display product(s) from a particular category:

    https://support.tipsandtricks-hq.com/forums/topic/estore-using-categories-to-display-products-with-different-button-types

    June 6, 2012 at 4:37 pm #45882
    Holly Lisle
    Member

    Thank you. This is perfect!

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ