// refacto of https://github.com/PrestaShop/PrestaShop/commit/e13b66fd85fdd94a57831b7c4cf07ba03f3ef89f