albert033 Posted January 30, 2016 Share Posted January 30, 2016 Bonjour, Je cherche comment autoriser les virgules et le symbole ø dans les url des pages produits. Ils sont systématiquement supprimer dans les url simplifiées. Merci de votre aide Link to comment Share on other sites More sharing options...
Eolia Posted January 30, 2016 Share Posted January 30, 2016 Ben vous ne pouvez pas c'est interdit par la RFC... Link to comment Share on other sites More sharing options...
albert033 Posted January 30, 2016 Author Share Posted January 30, 2016 Bonjour Eolia et merci. Est-il possible alors de transformer les virgules en tiret ou en underscore (ou autre séparateur) pour éviter qu'un 4,55 ne devienne un 455 ? Link to comment Share on other sites More sharing options...
Eolia Posted January 30, 2016 Share Posted January 30, 2016 Il faut modifier la fonction public static function str2url($str) dans /classes/Tools.php mais pas sur que le dispatcher de Presta suive... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now