Home » Community Plugins » WP-e-Commerce Related Products

WPEC Related Products for WP e-Commerce uses information available within the Single Product or All Page WPEC template to display related Products that belong to the same Product Category or Product Tag.

Works on 3.8 only

What others think of this plugin

  1. Sophie December 14, 2011 at 12:23 pm

    I tried this plugin and unfortunately it seem to display random products rather than related ones. Also the related products appear before the Add To Cart section which is rather confusing.

  2. fanta January 18, 2012 at 1:46 am

    it doesn’t work properly for me either, it only shows products from the same category even though I changed it to ‘by tags’, it completely ignores it.

  3. Onnay Okheng February 4, 2012 at 6:12 am

    Sorry for the bugs. I will try to fix that soon :)

  4. Ed February 10, 2012 at 5:20 am

    Hi there, thanks for this plugin – but I use a custom theme so how do I change where it’s located on the page because the default breaks my layout?

    • Mychelle February 10, 2012 at 9:58 am

      Hi Ed,

      Michelle here from WPEC, thats a good question im not to sure how these are put into the theme so i’ll take a look now for you and come back to you with an answer :)


    • Mychelle February 10, 2012 at 10:06 am

      Hi Ed,

      Ok so I have taken a look at this plugin – you will see on the settings page for this plugin it has a placement products option – the values in that select box are the names of the action hooks that can be found on the single product page.

      I would suggest you try adjusting the css to change the placement of it or if you want you can try moving the do_action(‘placment_name’); hook to where you want it to go.

      However one thing to keep in mind with this – alot of other plugins use these same hooks to add extra info to the product page so if you notice other stuff moving around aswel this will be why.

      Send me a link to your store with the plugin installed if you like – im happy to take a look at it.

  5. Ed February 10, 2012 at 11:20 am

    Hi Michelle, thanks for the detailed answer.

    To avoid issues with the hooks would it be possible to call the plugin using php – for example in a div below the product information so it’s separate?

    If you know how to do this it would be much appreciated!

  6. Mychelle February 10, 2012 at 2:00 pm

    Hi Ed,

    Im sure that would be possible, would have to add another hook into your single product page and the same hook into the plugin – not a big or hard job at all, i’ll investigate this for you over the next few days (Its Friday afternoon here in NZ) and i’ll put together a modifyed pack that people can download if they like – perhaps we could even just create a template tag for this.

    I’ll take a look at the options and let you know.


  7. Ed February 10, 2012 at 2:13 pm

    Of course, the time difference, it’s 1AM in the UK.

    I’ll also take a look at the single products page to see if I can work it out, we’re currently using the ‘also bought’ cross selling under the product descriptions at the minute. The issue with that built-in feature is it requires quite a number of sales (especially when you have hundreds of products as we do) to populate… so pages look rather blank (big white space under single products) for now and will do for some time – unless of course we get thousands of sales in the next few weeks. :)

  8. Onnay Okheng February 29, 2012 at 6:20 pm

    Hi All,
    I have update and fix some issues hehe..
    thx to all and sorry I’ve made ​​you wait long.

    enjoy this. ^_^

    • Mychelle March 5, 2012 at 10:46 am

      Hi Onnay,

      Michelle here from WPEC, Thanks so much for updating this plugin it seems to be a popular one!

      hopefully everyone can now update :)

      Thanks again

  9. Christy March 1, 2012 at 8:52 am

    Does anyone else have trouble with related items showing up as $0.00? I am seeing this on some products, but not all.

    • Callie August 2, 2012 at 9:49 am

      I’m having this problem. I thought I found the fix in the comments of another site, but their solution has now made my problem worse – now EVERYTHING is showing up as being $0 and I can’t find any solution at all! :/

      • Mychelle August 3, 2012 at 8:28 am

        Hi Callie,

        Whats the problem your having and what did you do to try and resolve it to make your prices go to 0?
        If you can provide a bit more information I would be happy to have a go at helping you.


  10. Jermain Gordon June 12, 2012 at 5:15 am

    How can we get an earlier version of this plugin? I am having issues with the products page ‘taking over’ all other post/pages except for the landing page. Several forums note that going back to a previous version would be a workaround until a fix is made. I am currently using version and i need Thanks

    • Mychelle June 12, 2012 at 8:44 am

      Hi Jermain,
      Michelle here from WP e-Commerce / GetShopped
      You can still download previous versions of WP e-Commerce from WordPress.org. I am not to sure that going back to this version is going to fix your problems, it sounds a little theme related or perhaps another plugin conflict?. Give it a go and let me know how you get on.


      Previous Versions: http://wordpress.org/extend/plugins/wp-e-commerce/developers/

  11. Drew September 8, 2012 at 10:40 pm

    Is there a way to display this on just one page rather than over the whole site? I’m looking for a way to show the 4 newest products on the bottom of my homepage however the shortcodes dont limit to 4 items, without the pagination so I’m trying to work my way around it….

  12. Raju November 19, 2012 at 9:16 pm

    Product price is not showing correctly. here is my site: http://i-goshop.com.au/products-page/shop-by-category/mountsholders/mobilehold-universal-mobile-phone-holder-for-car/

    in sidebar some price is 0.00. could you please help how to solve this problem.

    • Rob January 11, 2013 at 3:41 am

      I had the same problem and tracked the issue down to the function wpsc_the_product_price in plugins/wp-e-commerce/wpsc-includes/product-template.php:

      if ( ! empty( $wpsc_variations->first_variations ) ) {
      $from_text = apply_filters( ‘wpsc_product_variation_text’, ” );
      $output = wpsc_product_variation_price_available( $product_id, __( ” {$from_text} %s”, ‘wpsc’ ), $only_normal_price );

      } else {…


      Regardless of whether the product has a variation, the first conditional returns true. Products with no variations will output a $0 price. I commented these lines out (lines 411-415, and the conditional close at 436) and all products now display proper price.

      Be aware that commenting these lines out will affect all products across the entire plugin. For my purposes this does not cause an issue, however, it may depending on your specific setup.

  13. Rob January 11, 2013 at 9:16 am

    Turns out the above is not a valid workaround. I resorted to removing prices from the related products plugin.

  14. g.oostema February 27, 2013 at 10:09 pm

    just installed the product and the price seems to work for me, i dont use variations though.
    however the related products shows all categories, while i selected show related by category.

    should not show all category products right?
    any fix around?

  15. g.oostema February 27, 2013 at 10:29 pm

    another question, anyway to display bigger images, 200px instead of the 100 px it displays now?

  16. a.murray March 22, 2013 at 11:13 am

    I am having problems with the addon…seems to add the additional items to all products in a category even through i have it set to product tag in the settings. I have several options that are product specific, but span different categories so i thought the product tag would let me add thoses item i selected from the list

    i could use any help available

  17. Daniel September 26, 2013 at 12:24 am


    Is there a way to show the “Add to cart” button for each product?
    I want to check if this might lead to more sales.


  18. Michael September 23, 2014 at 9:42 am

    Hi there, I have installed this plugin (wp-ecommerce) on my website but I have one problem. I have some products that I want to show without a price as I want to get interest first on these products. Is there any way to disable the product values for a few items please?