Improved compatibility with prestashop 1.5.6

Improved compatibility with prestashop 1.5.6