HistoricalGarments Posted October 24, 2018 Share Posted October 24, 2018 I have a problem and I am having trouble finding a correct to fix it. When I set up my shop, it was installed with English language (id_lang="1". I added Danish language (id_lang="2") and deleted the English language from Backoffice. However, all the Id_lang="1" entries are not gone from the database. Now, when I add a new product attribute, it is added in the database as id_lang="2", BUT the Product Editor speaks the wrong language and looks for attributes of id_lang="1". So, I cannot add new combinations as the new attributes do not appear in the product editor. When I go to phpmyadmin and check tables 'ps_attribute_lang' and 'ps_attribute_groups_lang', the new attributes are only saved as 'id_lang*="2". If I make a copy with 'id_lang'="1", then the new attributes become visible in the Product Editor. I'm running Prestashop 1.7.4.2. Link to comment Share on other sites More sharing options...
razaro Posted October 24, 2018 Share Posted October 24, 2018 Hi I have submitted that bug here https://github.com/PrestaShop/PrestaShop/issues/9802 and looks like there is not yet solved even there is solution proposed. https://github.com/PrestaShop/PrestaShop/pull/10392/files Just replace line in red with two new once in green. That should fix it. 1 Link to comment Share on other sites More sharing options...
HistoricalGarments Posted October 24, 2018 Author Share Posted October 24, 2018 Thank you! ❤️💙🧡💚💜💛🖤 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