Creating a url rewrite module in prestashop
问题 I'm trying to build my own custom prestashop module. The module is very simple. It needs to read the url and if the url of the visitor is equal to an product code it needs to redirect the user to that specific product page. For this i'm using the following url: www.example.com/ean13/{ean13} So when the visitor, for example, tries to visit the page: www.example.com/ean13/1121312341 a query has to start running and has to search for that 'ean13' product code. If the product code exists the user