{"id":3309,"date":"2014-10-10T13:41:03","date_gmt":"2014-10-10T02:41:03","guid":{"rendered":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/?p=3309"},"modified":"2014-10-10T13:45:54","modified_gmt":"2014-10-10T02:45:54","slug":"how-to-display-a-list-of-random-products","status":"publish","type":"post","link":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/how-to-display-a-list-of-random-products-3309","title":{"rendered":"How to Display a List of Random Products"},"content":{"rendered":"<p>The random\u00c2\u00a0products shortcode allows you to\u00c2\u00a0display any number of random\u00c2\u00a0products\u00c2\u00a0from your available products\u00c2\u00a0.<\/p>\n<h2>How to Display Your Latest\u00c2\u00a0Products.<\/h2>\n<p>You can use the eStore and the Extra Shortcodes add-on to display a list of your random\u00c2\u00a0products. To do this all you need to do is follow the steps outlined below.<\/p>\n<p><strong>Step 1:<\/strong> You will need to have the eStore and the <a href=\"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-estore-shortcodes-and-functions-reference-460\" target=\"_blank\">Extra Shortcodes add-on<\/a> installed on your site.<\/p>\n<p><strong>Step 2:<\/strong> Create a page where you want to display the list of random\u00c2\u00a0products. You can also use an existing page or widget.<\/p>\n<p><strong>Step 3:<\/strong> Place one of the\u00c2\u00a0below shortcodes where you want a list of random\u00c2\u00a0products to be displayed.<\/p>\n<h3>Shortcodes<\/h3>\n<p><strong>1.<\/strong> [wp_eStore_random_products number=1 style=1 type=1]<\/p>\n<p><strong>Parameters you can modify in this shortcode.<\/strong><\/p>\n<p>\u00e2\u20ac\u00a2 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.<\/p>\n<p>\u00e2\u20ac\u00a2 Style (style) This allows you to use different fancy displays to show your products. You can see a full list of the\u00c2\u00a0<a href=\"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/stylish-product-display-options-for-wp-estore-829\" target=\"_blank\">fancy display templates<\/a>\u00c2\u00a0here.<\/p>\n<p>\u00e2\u20ac\u00a2 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.<\/p>\n<p><strong>2.<\/strong>\u00c2\u00a0[wp_eStore_random_products number=1 style=1 type=1 cat_id=1]<\/p>\n<p><strong>Parameters you can modify in this shortcode.<\/strong><\/p>\n<p>\u00e2\u20ac\u00a2 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.<\/p>\n<p>\u00e2\u20ac\u00a2 Style (style) This allows you to use different fancy displays to show your products. You can see a full list of the\u00c2\u00a0<a href=\"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/stylish-product-display-options-for-wp-estore-829\" target=\"_blank\">fancy displays<\/a>\u00c2\u00a0here.<\/p>\n<p>\u00e2\u20ac\u00a2 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.<\/p>\n<p>\u00e2\u20ac\u00a2 Category ID (cat_id)\u00c2\u00a0This allows you to specify\u00c2\u00a0a 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.<\/p>\n<h2>Related Documents<\/h2>\n<ul>\n<li><a href=\"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/how-to-display-a-list-of-latest-products-3304\">Display a List of Latest Products<\/a><\/li>\n<li><a href=\"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/how-to-display-a-list-of-popular-products-3297\">Display a List of Popular Products<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>The random\u00c2\u00a0products shortcode allows you to\u00c2\u00a0display any number of random\u00c2\u00a0products\u00c2\u00a0from your available products\u00c2\u00a0. How to Display Your Latest\u00c2\u00a0Products. You can use the eStore and the Extra Shortcodes add-on to display a list of your random\u00c2\u00a0products. To do this all you need to do is follow the steps outlined below. Step 1: You will need to [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","footnotes":""},"categories":[13,3],"tags":[161,194,193,61],"class_list":{"0":"post-3309","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-additional-resources","7":"category-wordpress-estore","8":"tag-digital-downloads","9":"tag-products","10":"tag-random-products","11":"tag-wp-estore","12":"entry"},"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-json\/wp\/v2\/posts\/3309"}],"collection":[{"href":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-json\/wp\/v2\/comments?post=3309"}],"version-history":[{"count":0,"href":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-json\/wp\/v2\/posts\/3309\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-json\/wp\/v2\/media?parent=3309"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-json\/wp\/v2\/categories?post=3309"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-json\/wp\/v2\/tags?post=3309"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}