Tag: Prestashop

  • Prestashop Google Product Search

    Prestashop Google Product Search

    Since August 2008 when we first released a Google Product Search (Google Base) module a lot has changed. Not only has Google’s own service undergone a series of changes to the feed specification, Prestashop has also moved on.

    The release of Prestashop 1.4.x in particular has seen support for many of the additional data items not previously possible to include, along with major changes in the generation of SEO urls which alone merit a code refresh. It has also become much harder to get good rankings in Product Search as the uptake has increased, and more attention needs to be taken in terms of feed data quality than ever before.

    (more…)
  • {Less} is more?

    {Less} is more?

    So today I had to go out on a school trip with my son, so I knew I had limited work time. I thought it was a good opportunity to catch up with the latest Prestashop news and the first stop was the Prestashop Blog. The first entry I read was an interesting (and well-reasoned) summary of the workflow for building themes by Pierre-Alain Leboucher, and at the end of the post I came across a reference to {less}.

    I don’t mind admitting that I love reading about new technologies and techniques, and predictably a google search later and I was browsing various sites, and getting more and more hooked on the concept by the minute.

    (more…)
  • 1.4 Plugins Revisited – Part 2

    Extending Prestashop Theme Plugins

    In 1.4 Plugins Revisited – Part 1 we looked at creating a “Plugin” class to allow us to insert some handy theme plugins to insert the output of module hooks, cms pages and Prestashop config variables at arbitrary points in our themes. In this part we look at a mechanism to allow theme developers to include their own smarty plugins seamlessly into their themes, with the code contained within the theme distribution itself.

    (more…)
  • 1.4 Plugins Revisited – Part 1

    Plugins Evolved

    A while ago when I wrote the original article on Prestashop plugins I promised a follow-up to allow it to be used with smarty 3. Unfortunately work has kept me from a proper write-up so I’m only now getting around to publishing the next version. I had intended adding the ability to easily extend the functionality on a per-theme basis, but since the demand for some usable code right now has been so great I’ve decided to publish this in two parts. I will try to ensure that Part 2 doesn’t take as long to appear as this article has!

    (more…)
  • Vanilla 2 and Prestashop

    I’ve long loved the original Vanilla forum by Mark O’Sullivan, but I’ve got to say that the new Garden and Vanilla 2 release has bowled me over. Although still in BETA I was so excited about using it in my latest project that I sat down and wrote a module for Prestashop to allow you to provide a slick single sign-on to both the store and the forum — utilising the SSO plugin that comes with Vanilla 2.

    (more…)
  • 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

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

  • Customising Prestashop Module Templates

    Please don’t edit those originals!

    I came across this little gem a while ago on the Prestashop forum, and thought I would draw attention to it in the hopes that it will help someone, somewhere.

    (more…)
  • 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

  • AddStuff is almost 1 Year old!!

    Who would have believed it! Well to celebrate, and also to fix a few problems it’s recently been updated. You can grab the latest version, as always, from the Addstuff page

  • 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….

    (more…)