fransjaeger Posted February 6, 2015 Share Posted February 6, 2015 Hi there Im trying to to find out where is the address alias name generated. OPC module is automatically naming address "address 100" but if simular name allready exist, its adding a random number like "address 100234" and I'd like to change it, so its maybe A or B or C ... etc I been trying to find the code that perform this, but I cant find it. Please give me a hint, thanks Link to comment Share on other sites More sharing options...
las3r Posted February 6, 2015 Share Posted February 6, 2015 Hi there Im trying to to find out where is the address alias name generated. OPC module is automatically naming address "address 100" but if simular name allready exist, its adding a random number like "address 100234" and I'd like to change it, so its maybe A or B or C ... etc I been trying to find the code that perform this, but I cant find it. Please give me a hint, thanks Are you using any paid modules for the OPC experience? The alias is not a unique key in the database, so it can be 'duplicate' if it already exist. I just went through the latest code (1.6.x but should also count for 1.5.x) and I cannot see any code in the vanilla prestashop distribution that sports any proof of this issue. 1 Link to comment Share on other sites More sharing options...
fransjaeger Posted February 7, 2015 Author Share Posted February 7, 2015 I found out it was my OPC module that did it. I just override that few lines and its fixed sorry for disturbing thanks for helping Link to comment Share on other sites More sharing options...
las3r Posted February 7, 2015 Share Posted February 7, 2015 No worries and good to hear that you fixed your problem :-) 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