Market plugin v1.8f

Release Notes

The errors some have with terms and urls's is hopefully fixed in this release - Anyway, it's working here on Elgg 1.8.2

Removed some obsolete files


  • @insanedb what have you done?? man... i´ve no clue to solve this.... and is just this to integrate with paypal or any payment button or payment link... @slyhne Thank you for sharing this plugin!

  • Hey there,

    I have quite a few market categories, and they show up as tabs at the top of The Market page.  Consequently, these take up quite a bit of space on the page.

    Is there any way I could get the categories to display in the right-hand column instead.



  • Just found a bug...

    A normal user can delete/edit his friend's market post.... .. how to fix this problem...?

  • adc

    bug. .. when html activated, links in item description act as plain text. iam running elgg 1.8.15

  • @Cool-mates,

    do this, it will work:

    chang line 80 in market/views/default/object/market.php

    if ($allowhtml != 'yes') {


    if (elgg_get_plugin_setting('market_allowhtml', 'market') != 'yes') {

  • adc

    @kushal: thanks! works like a charm now!

  • Hi,

        Please, can you help me?

    I installed your plugin, but the site stay with two parts, it divide the site. Do you know whats happen?




  • Hello,

    First of all: I love this plugin. I'm using it for a site similar to craigslist. I even managed to duplicate the plugin to make two markets.

    I'd like to know if it is possible to make a feature that lets you filter out market posts based on the custom select feature. For example, a user can filter out to only browse for new conditon items. Is that possible?


    - Speedysnail6/Ben

  • Hi Speedysnail6

    That is possible (nearly everything is if you set your mind to it).

    One way could be creating page menus that point to somenewpage/keyword

    That new page should then fetch entities where that piece of metadata = keyword

    Happy coding :)


  • I would like to know that I have to do to place the last market users post as well as it also shows the "last group", "new users" among others ...

    I await your response and thanks in advance!

    Calificación general
    Este sitio no tiene calificación
    (no hay votos suficientes)
  • How I can add the "Recent Market Post" plugin "Custom_Index"???

    Calificación general
    Este sitio no tiene calificación
    (no hay votos suficientes)
  • en: Please I need to make several changes to this plugin going to pay for it, interested in making some money please let me know, it is urgent


    es: Por favor necesito realizar varios cambios a este plugin voy a pagar para eso,  interesados en ganar algo de dinero por favor avisenme, es urgente

  • Please, does anyone know why this happens? Why another screen appears underneath?

    Another screen

  • I managed to solve the problem by adding

    return true;

    in: Market>start.php

    before the closing curly bracket of function market_page_handler($page) { at line 95.

    as commented @Satheesh PM

  • how would you add market widget to custom index page of widget manager?

    Also is it possible to add more then one photo besides the main????

  • how can you make it where when they check out they can leave comments or info for instance they ordered shirt they can list the size they need?

  • dear slyhne,

    is it possible to add sub Category under a Category.

    like. i made a Category named Electronics. now i want to create sub category under Electronics.

    like...Electronics > CAMERA,Computers & Accessories, Home Audio & Home Theater

    also is it possible to add another category. where members can choose from Buying and Selling.

    in this way members can easily decide what they want.


    is it possible to do that, if it is then how can i do that. and if its not the can u add this option in this plugin.

  • @Hell Rock

    Not in it's current form, that would be a complete rewrite of how categories and subcategories are handled. You are welcome to fork the plugin and modify to you own needs.

    Happy coding :-)

  • Hello

    And thank you for this very great mod :o)

    I downloaded this a few days ago but there are a few things I can't find find where to translate.

    On the category tabs where it say "market:" and also when you are make an ad and have to choose chategory it say "market:" as well. I really wouldn't like to translate them but to remove them.

    Can someone guide me to where I can translate them or let me know if it's something that can be deltetd

    Thank you.

  • Hello

    Can someone help me and tell me how to edit or prefereble remove the "market:" text? I've added a screenshot of what I am talking about


  • Hi, I need help please.

    I need to add a custom profile field (for example de last name) in the market view.

    And I need add the item image in the river activity page.

    Somebody helpme please.


    thank you 

  • @Nefea - You are using it wrong. You should enter categories like this, "newfriends, rentacar" etc. Then add these categories in you language files like 'market:newfriends' => 'Venner søges'.

    This is done so that you site can support more than one language.

  • @Nicolas - This is how you add market image to river:

    In the file mod/market/views/default/river/object/market/create.php

    * Market river view.

    $object = $vars['item']->getObjectEntity();
    $excerpt = strip_tags($object->excerpt);
    $excerpt = elgg_get_excerpt($excerpt);

    $img = elgg_view('output/img', array(
    'src' => "market/image/{$object->guid}/medium/{$object->time_updated}",
    'class' => 'elgg-photo',
    $image = elgg_view('output/url', array(
    'href' => "market/view/{$object->guid}/" . elgg_get_friendly_title($object->title),
    'text' => $img,

    echo elgg_view('river/item', array(
    'item' => $vars['item'],
    'message' => $excerpt,
    'attachments' => $image,


  • Category: eCommerce
  • License: GNU General Public License (GPL) version 2
  • Updated: 2020-9-9
  • Downloads: 23647
  • Recommendations: 69

Other Projects

View slyhne's plugins