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

How do you add a "Latest Additions" section?

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore General Questions › How do you add a "Latest Additions" section?

Tagged: latest products list, wp shopping cart

  • This topic has 8 replies, 3 voices, and was last updated 11 years, 11 months ago by caimano.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • November 10, 2011 at 1:55 am #4728
    Charlie
    Member

    I am brand new to using this plugin and I’ve read most of the documentation. I will have a basic store with several categories on different pages. I would like to have a “Latest Additions” section on my home page that automatically displays the last, say, 12 products I have added to the site.

    How is this done? Do I have to do it manually?

    Similarly, is it possible to have a “Most Popular” section of your top 10 selling products?

    Thank you!

    Charlie

    November 10, 2011 at 4:05 am #38330
    admin
    Keymaster

    There are shortcodes for latest, popular and random products. Check the shortcodes list and you will find it:

    http://www.tipsandtricks-hq.com/ecommerce/wp-estore-shortcodes-and-functions-reference-460

    November 10, 2011 at 6:42 am #38331
    Charlie
    Member

    Oh I see they are in the extra shortcodes plugin. Thank you!

    November 11, 2011 at 1:22 am #38332
    Charlie
    Member

    Is there somewhere we can see what all of these examples look like?

    July 22, 2013 at 3:32 pm #38333
    caimano
    Member

    How can I add a Random Additions section using PHP Function Reference? I used this short code : [wp_eStore_random_products number=1 style=1 type=1] but now i must use the PHP Function Reference, which is it? Fabio

    July 22, 2013 at 11:50 pm #38334
    admin
    Keymaster

    Try the following PHP code which will show a random product:

    do_shortcode('[wp_eStore_random_products number=1 style=1 type=1]')

    July 23, 2013 at 8:17 am #38335
    caimano
    Member

    Hi, the code works perfectly, but not yet, when I insert it in the post, is always displayed the last piece of string on the web page ‘);?>

    The following syntax is the one I used to insert the php code on the page, is that correct? :

    <?php echo do_shortcode(‘[wp_eStore_random_products number=6 style=3 type=1]’); ?>

    July 23, 2013 at 11:05 am #38336
    admin
    Keymaster

    Your syntax looks correct to me. Check your code to see if you have an extra set of ;?> characters in your code on this page.

    I thought you wanted to use it in the sidebar? If you are using it in a WordPress post/page, you don’t need to use the PHP syntax, use the shortcode directly in the post.

    July 23, 2013 at 3:59 pm #38337
    caimano
    Member

    Ok, i will use shortcode directly in the pages. No, there are not extra set of ;?> characters in the code of my blank post, it’s very strange. Thanks for answers.

  • Author
    Posts
Viewing 9 posts - 1 through 9 (of 9 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