The Ultimate Prestashop Module and Theme Development Tool

Debugging Prestashop Templates

While stumbling around the internet as you do when pondering a particularly awkward programming challenge, I came across an excellent post on smarty debug with FireBug. This inspired me to pull together a Prestashop module to allow store owners, designers and developers to view indepth debugging data from right within the Prestashop environment.
Full article »

  • StumbleUpon
  • Twitter
  • Digg
  • del.icio.us
  • Technorati
  • MySpace
  • Facebook
  • Google Bookmarks
  • MisterWong
  • Reddit
  • RSS

Tags: ,

Fixed version of the gsitemap module

There seems to have been a lot of problems with the Google XML Sitemap generator shipping with PrestaShop 1.2, so I’ve had a run through and re-written a fair bit of the code to fix these issues.

The main changes (in 1.4.2) are:

  • New XML generation code using the DOMDocument(*) class
  • Modified the logic to remove extra elements from the generated URLs
  • Added an xml-stylesheet reference to the output file, xsl included in download
  • Fixed the issues when “Friendly” urls are turned off
  • Add a new field to the cms table on install to track modified dates (auto updating)
  • Added removal of additional field on uninstall

(*)If your server doesn’t support this then sorry. Go elsewhere for hosting!

Updated to 1.4.3 — 10 August 2009

  • Added error checking and reporting

Updated to 1.4.4 — 18 August 2009

  • Added images to the sitemap (as introduced in the 1.4 version in the 1.2.1.0 distribution)
  • 1.2.1.0 including fixes to the Link class which broke 1.4.3, so fixed that
  • Added cross-compatibility so this version works in both 1.2.0.x and 1.2.1.x
  • Fixed a bug when __PS_BASE_DIR__ is set to other than the site root

Example output: with friendly urls and without friendly urls.

Download the Prestashop Google XML Sitemap Module v1.4.4 now.

  • StumbleUpon
  • Twitter
  • Digg
  • del.icio.us
  • Technorati
  • MySpace
  • Facebook
  • Google Bookmarks
  • MisterWong
  • Reddit
  • RSS

Tags: , , , ,

AddHeader – a sibling for AddStuff

Sometimes you just want to do something simple, and there doesn’t seem any way of achieving it easily. Then you find something like AddHeader.

This one adds the contents of your specified file into the header of your pages, so you can add or remove code without having to go and edit the template files (and it’s there regardless of which template you’re using too!). Simple.

Version 0.1.0 (Initial Release August 2009) : AddHeader module

  • StumbleUpon
  • Twitter
  • Digg
  • del.icio.us
  • Technorati
  • MySpace
  • Facebook
  • Google Bookmarks
  • MisterWong
  • Reddit
  • RSS

Tags: , ,

Moving Boxes Home Featured jQuery module

I thought it was about time for yet more free Prestashop eye candy, so here’s yet another home featured products module for you all to play with!

Just specify how many products you’d like to feature in the configuration screen and sit back and enjoy! Well, maybe not as I suspect you may also want to play with the css file in the module directory to modify the style to suite your stores. There are also a few images you may want to tweak too!

The javascript and markup is only gently modified from the original obtained from the superb CSS Tricks.

UPDATE: There was a slight error in the uninstall function which resulted in an error when you try to remove it. Updated is available below and should just be copied over the 0.1.0 version to fix.

Version 0.1.0 (Initial Release August 2009) : Moving Boxes “Featured Products” module

Version 0.1.1 (Bugfix Release August 2009) : Moving Boxes “Featured Products” module

  • StumbleUpon
  • Twitter
  • Digg
  • del.icio.us
  • Technorati
  • MySpace
  • Facebook
  • Google Bookmarks
  • MisterWong
  • Reddit
  • RSS

Tags: , ,

PS_Cumulus a WP-Cumulus port to Prestashop

I was looking to write a cool module to use in future tutorial articles when I came across the nifty looking WP-Cumulus Wordpress plugin by Roy Tanck. It had all the elements I was looking for, and he has kindly released the code (including the flash source) under the GPL license. Approximately 2 hours later PS_Cumulus was born!

Before anyone asks, the name has to use an underscore as a hyphen isn’t allowed in PrestaShop class names….

Full article »

  • StumbleUpon
  • Twitter
  • Digg
  • del.icio.us
  • Technorati
  • MySpace
  • Facebook
  • Google Bookmarks
  • MisterWong
  • Reddit
  • RSS

Tags: , , ,

Paypal WPP (Example) – PayPal Direct API

Development Release

I’ve been asked several times about this, so I guess I’d better release the code. This was written some time ago, and the target PrestaShop version was 1.1, however it should work with later releases.

The archive contains additional code to support PayPal Express Checkout, as this was originally developed as a shared library. A PayPal Express Checkout example will also be published here shortly.

Please note that this is intended for “development” purposes only as an example and was written to test out various concepts in PrestaShop, not as a robust payment method for use in commercial stores.

Full article »

  • StumbleUpon
  • Twitter
  • Digg
  • del.icio.us
  • Technorati
  • MySpace
  • Facebook
  • Google Bookmarks
  • MisterWong
  • Reddit
  • RSS

Tags: , , , ,

HSBC CPI Card Payment Module

This was developed originally for a client. The original brief was to update the existing module (provided by a member on the PrestaShop forum) to work in version 1.1 of PrestaShop and tie up any loose ends, but ended up being a complete re-write almost entirely from scratch (some of the third-party code in the original was re-used).
Full article »

  • StumbleUpon
  • Twitter
  • Digg
  • del.icio.us
  • Technorati
  • MySpace
  • Facebook
  • Google Bookmarks
  • MisterWong
  • Reddit
  • RSS

Tags: , ,

JonDesign’s SmoothGallery2.0 for Prestashop Featured Products

In one of the review threads on the PrestaShop forum there was a particular gallery feature that caught the eye, and I decided to adapt it slightly for more general use.

It’s basically just the Featured Products module adapted to use the javascript gallery rather than the standard tabular layout, and it certainly looks more effective.
Full article »

  • StumbleUpon
  • Twitter
  • Digg
  • del.icio.us
  • Technorati
  • MySpace
  • Facebook
  • Google Bookmarks
  • MisterWong
  • Reddit
  • RSS

Tags: ,

Shopmania Feed – UK

** There is now an official script for PrestaShop available and this module is no longer supported. **

It’s been a busy few weeks, and we’ve been caught up in the Christmas rush as many of you out there hopefully are too. It’s a busy time for stores – the busiest of the year – and hopefully the gloom and doom regarding ‘Credit Crunches’ and ‘Bank Bail-outs’ hasn’t affected you too much.

One of our regulars on the UK PrestaClub Forum suggested that a feed for Shopmania would be nice, so we threw this together. Sadly it is currently written to provide a feed for the UK service, although we plan to add some configuration in the next release to allow you to choose which country you would like to create the feed for. The more technical of you out there will have no trouble altering the module as it stands to produce a feed for your own country should you want to.

Version 1.0 (November 2008) : UK Shopmania Feed v1.0

  • StumbleUpon
  • Twitter
  • Digg
  • del.icio.us
  • Technorati
  • MySpace
  • Facebook
  • Google Bookmarks
  • MisterWong
  • Reddit
  • RSS

Tags: ,

Randomly Displayed Adverts and Callouts

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!
Full article »

  • StumbleUpon
  • Twitter
  • Digg
  • del.icio.us
  • Technorati
  • MySpace
  • Facebook
  • Google Bookmarks
  • MisterWong
  • Reddit
  • RSS

Tags: , , ,