Randomly Displayed Adverts and Callouts

Creative Commons Licence

Another useful tool for conversions is being able to attract the attention of your visitors and guide them to the parts of your site you really want them to see. We’ve come up with yet another great little PrestaShop module to do precisely that!

In this module you design a set of “creatives” or adverts that you want to display in either side column of your site and link these to categories, product pages or static pages in order to capture your customers and guide their shopping experience.

You can point them at your best value product, or promote your great delivery service; anything you can think of that you may want to highlight on your site is fair game! You can even link to another site, to promote someone else (but you don’t really want to do that now, do you).

This module is slightly more complex than our previous ones, so make sure you read the readme.html file contained in the archive. Please also consider a donation to ecartservice.net so we can keep justifying the time we spend bringing you nice little goodies to enhance your PrestaShop!! Note that you must upload the admin (appropriately renamed for your installation), classes, img and modules directories into the root folder for your site.

Latest update includes fix to allow deleting adverts (bug introduced in PrestaShop 1.1) and new hook placeholders for the page header and footer (in addition to the left and right side boxes).

Initial Release (September 2008) : Advert PrestaShop Module v1.0

Update for left column bug (November 2008) : Advert PrestaShop Module v1.1

Update to Admin Tab (January 2009) : Advert PrestaShop Module v1.2

Update to Add Hooks (January 2009) : Advert PrestaShop Module v1.3

Sharing is caring!

Posted on September 19, 2008 | Related Categories: Free Prestashop Modules, Prestashop | 49 comments

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

49 Responses to Randomly Displayed Adverts and Callouts

  1. Rekha says:

    Presta 1.4.4. Images are not showing in Home page and Adverts Tab after uploading image from computer, above the Upload box, though the file size shows and file can be deleted with delete button. I have given the website’s home page as Link and text ”Look!”. The folder media on the server also does not show the uploaded image. On Live Edit, I can see the module appear blank in the left column. What should I correct?

  2. Dom Parker says:

    Hi, I have just installed the module and all appeared to be fine… I have activated the module in the back office but when I click on the “Adverts” tab I get Tab file cannot be found. All the files appear to be in the right place on the server. Can you suggest a fix?… I am using PS 1.4.4
    Best wishes : Dom

  3. stef says:

    Hi,
    I try to use this marvellous module, but i have a problem. all is right for installation, i activate it, no problem, i have the tab adverts on my back office. i’ts write new. i press it. when i have pressed, nothing it’s wirte administration panel, adverts, and after nothing appears. Why?
    thnaks to answer

  4. Kamal says:

    Hi,

    Module works fine. Below some manual updates which I made to work correctly with Russian language because
    my provider default collate is “latin1_swedish_ci”.
    Therefore tables “advert” and “advert_lang” were created with same collate. I changed tables and field “description” collation to UTF8_general_ci”.

    Probably need to fix it in the file /modules/adverts/adverts.php by replacing code at rows 39-53 with following one:

    $sql_1=’CREATE TABLE IF NOT EXISTS `’._DB_PREFIX_.’advert`
    (`id_advert` int(10) unsigned NOT NULL auto_increment,
    `name` text,
    `date_add` datetime NOT NULL,
    `date_upd` datetime NOT NULL,
    PRIMARY KEY (`id_advert`)
    ) ENGINE=MyISAM DEFAULT CHARSET=utf8′;
    $result1 = Db::getInstance()->Execute($sql_1);

    $sql_2=’CREATE TABLE IF NOT EXISTS `’._DB_PREFIX_.’advert_lang`
    (`id_advert` int(10) unsigned NOT NULL,
    `id_lang` int(10) unsigned NOT NULL,
    `description` text,
    PRIMARY KEY (`id_advert`,`id_lang`)
    ) ENGINE=MyISAM DEFAULT CHARSET=utf8′;

    I didn’t tested it because I made all changes manually. But it should be work with any provider.

    Regards,
    Kamal.