JFUSION-149 #comment posible fixes for Prestashop plugin, needs testing.