Added trim on product codes, to avoid prestashop fatal errors in case of trailing spaces