Blog

  • Possible bug in PrestaShop Paypal Module

    While working on a Paypal test with a customer we noticed that the module appears to have an error which requires users to enter the IPN return url in their paypal account settings. This obviously means that it isn’t possible to set up multiple stores using PrestaShop if you have a single paypal account.

    The offending line (42) in paypal.tpl contains the form variable return_url. The post variable return_url doesn’t exist in the Paypal documentation, but the value being passed is correct for the IPN url. This line should likely be notify_url instead.

    We’ll continue our testing to confirm that this solves the problem with IPN configuration for multiple stores using PrestaShop.

    Update: Patched paypal.tpl file to address the above issue: Paypal.tpl updated


  • “AddStuff” for PrestaShop

    Addstuff will be 1 year old on 5th August 2009!!

    Here’s a fun little module that several have used to add some easy custom items to their pages. Inspired by many modules by the same (or similar) names for other open source projects, this allows you to include your own html (or anything else you can think of) into your right or left column easily.

    The configuration consists of two items:

    • A filename (default “mystuff.html” in the module directory)
    • A check box to select using the standard box model class (heading is styled with h4)

    The example code puts an image and link on your page, so you’ll probably want to change it, but feel free to link back to here from your sites. We appreciate your support!

    Latest Version: Addstuff v0.6.3


  • Preventing the copying of your site design templates

    I was browsing the prestashop forum and ended up on a thread concerning an issue with people stealing a site design by downloading the template files from the theme directory. It struck me that this is probably something that those of you who use other template systems with your sites may also face, so thought I’d post the solution here too.

    The problem is that although php files cannot be viewed directly on your browser, other source files can be e.g. files ending in .tpl

    The best way to protect your site is to change the permissions on these files to 600. This will make them accessible only by your own code on the server and present anyone nosey enough to try and look at them with a 403 (forbidden) error. The same is true for php files (although these shouldn’t display the source unless your server configuration is broken).

    Simple.


  • Exporting products to Googlebase

    Getting noticed in Google Product Search

    There has been huge demand for a module to allow upload of the products in Prestashop installations to Google Base. In an attempt to satisfy this, until such time as I can have a look at implementing it using the Google Base API, I threw together some code that will hopefully work. Only minimal testing has been performed, so I recommend that you use with caution.

    Special thanks to Icarus for debugging the latest versions, and for the new feature suggestions for the 0.6.x series and beyond….

    Update: The latest version can be found at Prestashop Google Product Search

    (more…)