The random products shortcode allows you to display any number of random products from your available products .
How to Display Your Latest Products.
You can use the eStore and the Extra Shortcodes add-on to display a list of your random products. To do this all you need to do is follow the steps outlined below.
Step 1: You will need to have the eStore and the Extra Shortcodes add-on installed on your site.
Step 2: Create a page where you want to display the list of random products. You can also use an existing page or widget.
Step 3: Place one of the below shortcodes where you want a list of random products to be displayed.
Shortcodes
1. [wp_eStore_random_products number=1 style=1 type=1]
Parameters you can modify in this shortcode.
• Number of products (number) This is how many products you want to be displayed using the shortcode. Example: If you set this number to 5 the shortcode will display the 5 most popular products.
• Style (style) This allows you to use different fancy displays to show your products. You can see a full list of the fancy display templates here.
• Button type (type) This allows you to specify what type of button you want to use. Example: Buy Now, Add to Cart, Subscription or Download Now.
2. [wp_eStore_random_products number=1 style=1 type=1 cat_id=1]
Parameters you can modify in this shortcode.
• Number of products (number) This is how many products you want to be displayed using the shortcode. Example: If you set this number to 5 the shortcode will display the 5 most popular products.
• Style (style) This allows you to use different fancy displays to show your products. You can see a full list of the fancy displays here.
• Button type (type) This allows you to specify what type of button you want to use. Example: Buy Now, Add to Cart, Subscription or Download Now.
• Category ID (cat_id) This allows you to specify a category that you want the random products to be displayed from. When you use this shortcode it will only take the random products from the specified category.
Related Documents
Note: We provide technical support for our premium plugins via our customer only support forum