Guillaume_KS Posted June 14, 2023 Share Posted June 14, 2023 (edited) Hello, I have a small problem and I really do not see where it can come from. I imported my products a long time ago with their ean. Since then (I don't know what the cause is), my products have in the ean13 box spelled out: Array What's strange is that in the database, the eans are written correctly. If I go to my back office and change the ean box by hand, when I save, the word Array comes back. Has this ever happened to anyone? I'm multishop, and the error persists on all shops. Edited June 15, 2023 by Guillaume_KS (see edit history) Link to comment Share on other sites More sharing options...
ComGrafPL Posted June 14, 2023 Share Posted June 14, 2023 Try with Link to comment Share on other sites More sharing options...
Guillaume_KS Posted June 14, 2023 Author Share Posted June 14, 2023 Thank you very much for your prompt reply! Nevertheless, it doesn't help me. I don't want to change the format of the ean, I want to understand what can make it possible to have correct data in the database, of string type, and for it to display an array in the field. I don't intend to modify Prestashop's core, I just want to fix this problem. I don't have any override files that affect the EAN13 parameter. Link to comment Share on other sites More sharing options...
juanrojas Posted June 14, 2023 Share Posted June 14, 2023 Are your products being updated through some working cron? Link to comment Share on other sites More sharing options...
Guillaume_KS Posted June 14, 2023 Author Share Posted June 14, 2023 Hello ! So I have a product feed but it's old and has never been a problem. I have an override on the Group class that modifies the name in group_lang (to accommodate more characters). Link to comment Share on other sites More sharing options...
juanrojas Posted June 14, 2023 Share Posted June 14, 2023 Well, I think the problem is there, if you change manually and then the problem comes back, it's because of that cron update so check the ean field in that task 1 Link to comment Share on other sites More sharing options...
Guillaume_KS Posted June 15, 2023 Author Share Posted June 15, 2023 I solved the problem using the google chrome inspector: in fact the products didn't have a default category, because some categories hadn't persisted from store 1 to store 2: so I went back to all the categories and added store 2. 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